[INFO] cloning repository https://github.com/chenxiaolong/afsr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chenxiaolong/afsr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenxiaolong%2Fafsr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenxiaolong%2Fafsr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54dff3a0a2980691e83a5ec76fce1a71823f2ca5
[INFO] fixing chenxiaolong/afsr against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenxiaolong%2Fafsr" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chenxiaolong/afsr
[INFO] finished tweaking git repo https://github.com/chenxiaolong/afsr
[INFO] tweaked toml for git repo https://github.com/chenxiaolong/afsr written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chenxiaolong/afsr on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chenxiaolong/afsr already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 722e4863ac4b31f40fca8823afa34b4145dea49209fc22d5920286375b6d73d2
[INFO] running `Command { std: "docker" "start" "722e4863ac4b31f40fca8823afa34b4145dea49209fc22d5920286375b6d73d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "722e4863ac4b31f40fca8823afa34b4145dea49209fc22d5920286375b6d73d2" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "722e4863ac4b31f40fca8823afa34b4145dea49209fc22d5920286375b6d73d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "722e4863ac4b31f40fca8823afa34b4145dea49209fc22d5920286375b6d73d2" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling io-lifetimes v2.0.4
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]    Compiling prettyplease v0.2.30
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking once_cell v1.20.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling bindgen v0.71.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]    Compiling io-extras v0.18.4
[INFO] [stderr]    Compiling cap-primitives v3.4.2
[INFO] [stderr]    Compiling rustix v1.0.1
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling rustc-hash v2.1.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling syn v2.0.99
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking ambient-authority v0.0.2
[INFO] [stderr]     Checking linux-raw-sys v0.9.2
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]    Compiling embed-manifest v1.4.0
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling cap-std v3.4.2
[INFO] [stderr]     Checking maybe-owned v0.3.4
[INFO] [stderr]     Checking clap_builder v4.5.31
[INFO] [stderr]     Checking winnow v0.7.3
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking indexmap v2.7.1
[INFO] [stderr]     Checking bstr v1.11.3
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking tempfile v3.18.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking fs-set-times v0.20.2
[INFO] [stderr]    Compiling serde_derive v1.0.218
[INFO] [stderr]    Compiling clap_derive v4.5.28
[INFO] [stderr]     Checking clap v4.5.31
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking jiff v0.2.3
[INFO] [stderr]     Checking uuid v1.15.1
[INFO] [stderr]     Checking toml_edit v0.22.24
[INFO] [stderr]    Compiling afsr v1.0.4 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/ext.rs (1 fix)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.92s
[INFO] [stderr] crater-edition-check: afsr v1.0.4 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling afsr v1.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/afsr-c4372b8b082be16d/out/bindings.rs:3:196317
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...m (fs : ext2_filsys , ino : ext2_ino_t , gen : __u32 , blk : blk64_t , buf : * mut :: std :: os :: raw :: c_char) -> __u32 ; } uns...
[INFO] [stdout]   |                                             ^^^ expected identifier, found reserved keyword
[INFO] [stdout]   |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const EXT2_DEFAULT_PREALLOC_BLOCKS : u32 = 8 ; pub const EXT2_BAD_INO : u32 = 1 ; pub const EXT2_ROOT_INO : u32 = 2 ; pub const EXT4_USR_QUOTA_INO : u32 = 3 ; pub const EXT4_GRP_QUOTA_INO : u32 = 4 ; pub const EXT2_BOOT_LOADER_INO : u32 = 5 ; pub const EXT2_UNDEL_DIR_INO : u32 = 6 ; pub const EXT2_RESIZE_INO : u32 = 7 ; pub const EXT2_JOURNAL_INO : u32 = 8 ; pub const EXT2_EXCLUDE_INO : u32 = 9 ; pub const EXT4_REPLICA_INO : u32 = 10 ; pub const EXT2_GOOD_OLD_FIRST_INO : u32 = 11 ; pub const EXT2_SUPER_MAGIC : u32 = 61267 ; pub const EXT2_LINK_MAX : u32 = 65000 ; pub const EXT2_MIN_BLOCK_LOG_SIZE : u32 = 10 ; pub const EXT2_MAX_BLOCK_LOG_SIZE : u32 = 16 ; pub const EXT2_MIN_BLOCK_SIZE : u32 = 1024 ; pub const EXT2_MAX_BLOCK_SIZE : u32 = 65536 ; pub const EXT2_MIN_CLUSTER_LOG_SIZE : u32 = 10 ; pub const EXT2_MAX_CLUSTER_LOG_SIZE : u32 = 29 ; pub const EXT2_MIN_CLUSTER_SIZE : u32 = 1024 ; pub const EXT2_MAX_CLUSTER_SIZE : u32 = 536870912 ; pub const EXT2_MIN_FRAG_SIZE : u32 = 1024 ; pub const EXT2_MAX_FRAG_SIZE : u32 = 65536 ; pub const EXT2_MIN_FRAG_LOG_SIZE : u32 = 10 ; pub const EXT2_BG_INODE_UNINIT : u32 = 1 ; pub const EXT2_BG_BLOCK_UNINIT : u32 = 2 ; pub const EXT2_BG_INODE_ZEROED : u32 = 4 ; pub const EXT2_HASH_LEGACY : u32 = 0 ; pub const EXT2_HASH_HALF_MD4 : u32 = 1 ; pub const EXT2_HASH_TEA : u32 = 2 ; pub const EXT2_HASH_LEGACY_UNSIGNED : u32 = 3 ; pub const EXT2_HASH_HALF_MD4_UNSIGNED : u32 = 4 ; pub const EXT2_HASH_TEA_UNSIGNED : u32 = 5 ; pub const EXT2_HASH_SIPHASH : u32 = 6 ; pub const EXT2_HASH_FLAG_INCOMPAT : u32 = 1 ; pub const EXT4_DX_BLOCK_MASK : u32 = 268435455 ; pub const EXT2_MIN_DESC_SIZE : u32 = 32 ; pub const EXT2_MIN_DESC_SIZE_64BIT : u32 = 64 ; pub const EXT2_MAX_DESC_SIZE : u32 = 1024 ; pub const EXT2_NDIR_BLOCKS : u32 = 12 ; pub const EXT2_IND_BLOCK : u32 = 12 ; pub const EXT2_DIND_BLOCK : u32 = 13 ; pub const EXT2_TIND_BLOCK : u32 = 14 ; pub const EXT2_N_BLOCKS : u32 = 15 ; pub const EXT2_SECRM_FL : u32 = 1 ; pub const EXT2_UNRM_FL : u32 = 2 ; pub const EXT2_COMPR_FL : u32 = 4 ; pub const EXT2_SYNC_FL : u32 = 8 ; pub const EXT2_IMMUTABLE_FL : u32 = 16 ; pub const EXT2_APPEND_FL : u32 = 32 ; pub const EXT2_NODUMP_FL : u32 = 64 ; pub const EXT2_NOATIME_FL : u32 = 128 ; pub const EXT2_DIRTY_FL : u32 = 256 ; pub const EXT2_COMPRBLK_FL : u32 = 512 ; pub const EXT2_NOCOMPR_FL : u32 = 1024 ; pub const EXT4_ENCRYPT_FL : u32 = 2048 ; pub const EXT2_BTREE_FL : u32 = 4096 ; pub const EXT2_INDEX_FL : u32 = 4096 ; pub const EXT2_IMAGIC_FL : u32 = 8192 ; pub const EXT3_JOURNAL_DATA_FL : u32 = 16384 ; pub const EXT2_NOTAIL_FL : u32 = 32768 ; pub const EXT2_DIRSYNC_FL : u32 = 65536 ; pub const EXT2_TOPDIR_FL : u32 = 131072 ; pub const EXT4_HUGE_FILE_FL : u32 = 262144 ; pub const EXT4_EXTENTS_FL : u32 = 524288 ; pub const EXT4_VERITY_FL : u32 = 1048576 ; pub const EXT4_EA_INODE_FL : u32 = 2097152 ; pub const EXT4_SNAPFILE_FL : u32 = 16777216 ; pub const EXT4_SNAPFILE_DELETED_FL : u32 = 67108864 ; pub const EXT4_SNAPFILE_SHRUNK_FL : u32 = 134217728 ; pub const EXT4_INLINE_DATA_FL : u32 = 268435456 ; pub const EXT4_PROJINHERIT_FL : u32 = 536870912 ; pub const EXT4_CASEFOLD_FL : u32 = 1073741824 ; pub const EXT2_RESERVED_FL : u32 = 2147483648 ; pub const EXT2_FL_USER_VISIBLE : u32 = 1615585279 ; pub const EXT2_FL_USER_MODIFIABLE : u32 = 1615560959 ; pub const EXT4_EPOCH_BITS : u32 = 2 ; pub const EXT4_EPOCH_MASK : u32 = 3 ; pub const EXT2_VALID_FS : u32 = 1 ; pub const EXT2_ERROR_FS : u32 = 2 ; pub const EXT3_ORPHAN_FS : u32 = 4 ; pub const EXT4_FC_REPLAY : u32 = 32 ; pub const EXT2_FLAGS_SIGNED_HASH : u32 = 1 ; pub const EXT2_FLAGS_UNSIGNED_HASH : u32 = 2 ; pub const EXT2_FLAGS_TEST_FILESYS : u32 = 4 ; pub const EXT2_FLAGS_IS_SNAPSHOT : u32 = 16 ; pub const EXT2_FLAGS_FIX_SNAPSHOT : u32 = 32 ; pub const EXT2_FLAGS_FIX_EXCLUDE : u32 = 64 ; pub const EXT2_MOUNT_CHECK : u32 = 1 ; pub const EXT2_MOUNT_GRPID : u32 = 4 ; pub const EXT2_MOUNT_DEBUG : u32 = 8 ; pub const EXT2_MOUNT_ERRORS_CONT : u32 = 16 ; pub const EXT2_MOUNT_ERRORS_RO : u32 = 32 ; pub const EXT2_MOUNT_ERRORS_PANIC : u32 = 64 ; pub const EXT2_MOUNT_MINIX_DF : u32 = 128 ; pub const EXT2_MOUNT_NO_UID32 : u32 = 512 ; pub const EXT2_DFL_MAX_MNT_COUNT : u32 = 20 ; pub const EXT2_DFL_CHECKINTERVAL : u32 = 0 ; pub const EXT2_ERRORS_CONTINUE : u32 = 1 ; pub const EXT2_ERRORS_RO : u32 = 2 ; pub const EXT2_ERRORS_PANIC : u32 = 3 ; pub const EXT2_ERRORS_DEFAULT : u32 = 1 ; pub const EXT2_CRC32C_CHKSUM : u32 = 1 ; pub const EXT4_ENCRYPTION_MODE_INVALID : u32 = 0 ; pub const EXT4_ENCRYPTION_MODE_AES_256_XTS : u32 = 1 ; pub const EXT4_ENCRYPTION_MODE_AES_256_GCM : u32 = 2 ; pub const EXT4_ENCRYPTION_MODE_AES_256_CBC : u32 = 3 ; pub const EXT4_ENCRYPTION_MODE_AES_256_CTS : u32 = 4 ; pub const EXT4_AES_256_XTS_KEY_SIZE : u32 = 64 ; pub const EXT4_AES_256_GCM_KEY_SIZE : u32 = 32 ; pub const EXT4_AES_256_CBC_KEY_SIZE : u32 = 32 ; pub const EXT4_AES_256_CTS_KEY_SIZE : u32 = 32 ; pub const EXT4_MAX_KEY_SIZE : u32 = 64 ; pub const EXT4_KEY_DESCRIPTOR_SIZE : u32 = 8 ; pub const EXT4_CRYPTO_BLOCK_SIZE : u32 = 16 ; pub const EXT4_MAX_PASSPHRASE_SIZE : u32 = 1024 ; pub const EXT4_MAX_SALT_SIZE : u32 = 256 ; pub const EXT4_PBKDF2_ITERATIONS : u32 = 65535 ; pub const EXT2_LABEL_LEN : u32 = 16 ; pub const EXT2_OS_LINUX : u32 = 0 ; pub const EXT2_OS_HURD : u32 = 1 ; pub const EXT2_OBSO_OS_MASIX : u32 = 2 ; pub const EXT2_OS_FREEBSD : u32 = 3 ; pub const EXT2_OS_LITES : u32 = 4 ; pub const EXT2_GOOD_OLD_REV : u32 = 0 ; pub const EXT2_DYNAMIC_REV : u32 = 1 ; pub const EXT2_CURRENT_REV : u32 = 0 ; pub const EXT2_MAX_SUPP_REV : u32 = 1 ; pub const EXT2_GOOD_OLD_INODE_SIZE : u32 = 128 ; pub const EXT3_JNL_BACKUP_BLOCKS : u32 = 1 ; pub const EXT2_FEATURE_COMPAT_DIR_PREALLOC : u32 = 1 ; pub const EXT2_FEATURE_COMPAT_IMAGIC_INODES : u32 = 2 ; pub const EXT3_FEATURE_COMPAT_HAS_JOURNAL : u32 = 4 ; pub const EXT2_FEATURE_COMPAT_EXT_ATTR : u32 = 8 ; pub const EXT2_FEATURE_COMPAT_RESIZE_INODE : u32 = 16 ; pub const EXT2_FEATURE_COMPAT_DIR_INDEX : u32 = 32 ; pub const EXT2_FEATURE_COMPAT_LAZY_BG : u32 = 64 ; pub const EXT2_FEATURE_COMPAT_EXCLUDE_BITMAP : u32 = 256 ; pub const EXT4_FEATURE_COMPAT_SPARSE_SUPER2 : u32 = 512 ; pub const EXT4_FEATURE_COMPAT_FAST_COMMIT : u32 = 1024 ; pub const EXT4_FEATURE_COMPAT_STABLE_INODES : u32 = 2048 ; pub const EXT4_FEATURE_COMPAT_ORPHAN_FILE : u32 = 4096 ; pub const EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER : u32 = 1 ; pub const EXT2_FEATURE_RO_COMPAT_LARGE_FILE : u32 = 2 ; pub const EXT4_FEATURE_RO_COMPAT_HUGE_FILE : u32 = 8 ; pub const EXT4_FEATURE_RO_COMPAT_GDT_CSUM : u32 = 16 ; pub const EXT4_FEATURE_RO_COMPAT_DIR_NLINK : u32 = 32 ; pub const EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE : u32 = 64 ; pub const EXT4_FEATURE_RO_COMPAT_HAS_SNAPSHOT : u32 = 128 ; pub const EXT4_FEATURE_RO_COMPAT_QUOTA : u32 = 256 ; pub const EXT4_FEATURE_RO_COMPAT_BIGALLOC : u32 = 512 ; pub const EXT4_FEATURE_RO_COMPAT_METADATA_CSUM : u32 = 1024 ; pub const EXT4_FEATURE_RO_COMPAT_REPLICA : u32 = 2048 ; pub const EXT4_FEATURE_RO_COMPAT_READONLY : u32 = 4096 ; pub const EXT4_FEATURE_RO_COMPAT_PROJECT : u32 = 8192 ; pub const EXT4_FEATURE_RO_COMPAT_SHARED_BLOCKS : u32 = 16384 ; pub const EXT4_FEATURE_RO_COMPAT_VERITY : u32 = 32768 ; pub const EXT4_FEATURE_RO_COMPAT_ORPHAN_PRESENT : u32 = 65536 ; pub const EXT2_FEATURE_INCOMPAT_COMPRESSION : u32 = 1 ; pub const EXT2_FEATURE_INCOMPAT_FILETYPE : u32 = 2 ; pub const EXT3_FEATURE_INCOMPAT_RECOVER : u32 = 4 ; pub const EXT3_FEATURE_INCOMPAT_JOURNAL_DEV : u32 = 8 ; pub const EXT2_FEATURE_INCOMPAT_META_BG : u32 = 16 ; pub const EXT3_FEATURE_INCOMPAT_EXTENTS : u32 = 64 ; pub const EXT4_FEATURE_INCOMPAT_64BIT : u32 = 128 ; pub const EXT4_FEATURE_INCOMPAT_MMP : u32 = 256 ; pub const EXT4_FEATURE_INCOMPAT_FLEX_BG : u32 = 512 ; pub const EXT4_FEATURE_INCOMPAT_EA_INODE : u32 = 1024 ; pub const EXT4_FEATURE_INCOMPAT_DIRDATA : u32 = 4096 ; pub const EXT4_FEATURE_INCOMPAT_CSUM_SEED : u32 = 8192 ; pub const EXT4_FEATURE_INCOMPAT_LARGEDIR : u32 = 16384 ; pub const EXT4_FEATURE_INCOMPAT_INLINE_DATA : u32 = 32768 ; pub const EXT4_FEATURE_INCOMPAT_ENCRYPT : u32 = 65536 ; pub const EXT4_FEATURE_INCOMPAT_CASEFOLD : u32 = 131072 ; pub const EXT2_FEATURE_COMPAT_SUPP : u32 = 0 ; pub const EXT2_FEATURE_INCOMPAT_SUPP : u32 = 17666 ; pub const EXT2_DEF_RESUID : u32 = 0 ; pub const EXT2_DEF_RESGID : u32 = 0 ; pub const EXT2_DEFM_DEBUG : u32 = 1 ; pub const EXT2_DEFM_BSDGROUPS : u32 = 2 ; pub const EXT2_DEFM_XATTR_USER : u32 = 4 ; pub const EXT2_DEFM_ACL : u32 = 8 ; pub const EXT2_DEFM_UID16 : u32 = 16 ; pub const EXT3_DEFM_JMODE : u32 = 96 ; pub const EXT3_DEFM_JMODE_DATA : u32 = 32 ; pub const EXT3_DEFM_JMODE_ORDERED : u32 = 64 ; pub const EXT3_DEFM_JMODE_WBACK : u32 = 96 ; pub const EXT4_DEFM_NOBARRIER : u32 = 256 ; pub const EXT4_DEFM_BLOCK_VALIDITY : u32 = 512 ; pub const EXT4_DEFM_DISCARD : u32 = 1024 ; pub const EXT4_DEFM_NODELALLOC : u32 = 2048 ; pub const EXT2_NAME_LEN : u32 = 255 ; pub const EXT2_FT_UNKNOWN : u32 = 0 ; pub const EXT2_FT_REG_FILE : u32 = 1 ; pub const EXT2_FT_DIR : u32 = 2 ; pub const EXT2_FT_CHRDEV : u32 = 3 ; pub const EXT2_FT_BLKDEV : u32 = 4 ; pub const EXT2_FT_FIFO : u32 = 5 ; pub const EXT2_FT_SOCK : u32 = 6 ; pub const EXT2_FT_SYMLINK : u32 = 7 ; pub const EXT2_FT_MAX : u32 = 8 ; pub const EXT2_DIR_NAME_LEN_CSUM : u32 = 56832 ; pub const EXT2_DIR_ENTRY_HEADER_LEN : u32 = 8 ; pub const EXT2_DIR_ENTRY_HASH_LEN : u32 = 8 ; pub const EXT2_DIR_PAD : u32 = 4 ; pub const EXT2_DIR_ROUND : u32 = 3 ; pub const EXT4_ORPHAN_BLOCK_MAGIC : u32 = 185649668 ; pub const EXT4_NSEC_MASK : i32 = - 4 ; pub const EXT4_MMP_MAGIC : u32 = 5066064 ; pub const EXT4_MMP_SEQ_CLEAN : u32 = 4283256144 ; pub const EXT4_MMP_SEQ_FSCK : u32 = 3796716880 ; pub const EXT4_MMP_SEQ_MAX : u32 = 3796716879 ; pub const EXT4_MMP_UPDATE_INTERVAL : u32 = 5 ; pub const EXT4_MMP_MAX_UPDATE_INTERVAL : u32 = 300 ; pub const EXT4_MMP_MIN_CHECK_INTERVAL : u32 = 5 ; pub const EXT4_INLINE_DATA_DOTDOT_SIZE : u32 = 4 ; pub const EXT4_ENC_UTF8_12_1 : u32 = 1 ; pub const EXT4_ENC_STRICT_MODE_FL : u32 = 1 ; pub const EXT2_LIB_CURRENT_REV : u32 = 1 ; pub const EXT3_EXT_MAGIC : u32 = 62218 ; pub const EXT2_ET_BASE : u32 = 2133571328 ; pub const EXT2_ET_MAGIC_EXT2FS_FILSYS : u32 = 2133571329 ; pub const EXT2_ET_MAGIC_BADBLOCKS_LIST : u32 = 2133571330 ; pub const EXT2_ET_MAGIC_BADBLOCKS_ITERATE : u32 = 2133571331 ; pub const EXT2_ET_MAGIC_INODE_SCAN : u32 = 2133571332 ; pub const EXT2_ET_MAGIC_IO_CHANNEL : u32 = 2133571333 ; pub const EXT2_ET_MAGIC_UNIX_IO_CHANNEL : u32 = 2133571334 ; pub const EXT2_ET_MAGIC_IO_MANAGER : u32 = 2133571335 ; pub const EXT2_ET_MAGIC_BLOCK_BITMAP : u32 = 2133571336 ; pub const EXT2_ET_MAGIC_INODE_BITMAP : u32 = 2133571337 ; pub const EXT2_ET_MAGIC_GENERIC_BITMAP : u32 = 2133571338 ; pub const EXT2_ET_MAGIC_TEST_IO_CHANNEL : u32 = 2133571339 ; pub const EXT2_ET_MAGIC_DBLIST : u32 = 2133571340 ; pub const EXT2_ET_MAGIC_ICOUNT : u32 = 2133571341 ; pub const EXT2_ET_MAGIC_PQ_IO_CHANNEL : u32 = 2133571342 ; pub const EXT2_ET_MAGIC_EXT2_FILE : u32 = 2133571343 ; pub const EXT2_ET_MAGIC_E2IMAGE : u32 = 2133571344 ; pub const EXT2_ET_MAGIC_INODE_IO_CHANNEL : u32 = 2133571345 ; pub const EXT2_ET_MAGIC_EXTENT_HANDLE : u32 = 2133571346 ; pub const EXT2_ET_BAD_MAGIC : u32 = 2133571347 ; pub const EXT2_ET_REV_TOO_HIGH : u32 = 2133571348 ; pub const EXT2_ET_RO_FILSYS : u32 = 2133571349 ; pub const EXT2_ET_GDESC_READ : u32 = 2133571350 ; pub const EXT2_ET_GDESC_WRITE : u32 = 2133571351 ; pub const EXT2_ET_GDESC_BAD_BLOCK_MAP : u32 = 2133571352 ; pub const EXT2_ET_GDESC_BAD_INODE_MAP : u32 = 2133571353 ; pub const EXT2_ET_GDESC_BAD_INODE_TABLE : u32 = 2133571354 ; pub const EXT2_ET_INODE_BITMAP_WRITE : u32 = 2133571355 ; pub const EXT2_ET_INODE_BITMAP_READ : u32 = 2133571356 ; pub const EXT2_ET_BLOCK_BITMAP_WRITE : u32 = 2133571357 ; pub const EXT2_ET_BLOCK_BITMAP_READ : u32 = 2133571358 ; pub const EXT2_ET_INODE_TABLE_WRITE : u32 = 2133571359 ; pub const EXT2_ET_INODE_TABLE_READ : u32 = 2133571360 ; pub const EXT2_ET_NEXT_INODE_READ : u32 = 2133571361 ; pub const EXT2_ET_UNEXPECTED_BLOCK_SIZE : u32 = 2133571362 ; pub const EXT2_ET_DIR_CORRUPTED : u32 = 2133571363 ; pub const EXT2_ET_SHORT_READ : u32 = 2133571364 ; pub const EXT2_ET_SHORT_WRITE : u32 = 2133571365 ; pub const EXT2_ET_DIR_NO_SPACE : u32 = 2133571366 ; pub const EXT2_ET_NO_INODE_BITMAP : u32 = 2133571367 ; pub const EXT2_ET_NO_BLOCK_BITMAP : u32 = 2133571368 ; pub const EXT2_ET_BAD_INODE_NUM : u32 = 2133571369 ; pub const EXT2_ET_BAD_BLOCK_NUM : u32 = 2133571370 ; pub const EXT2_ET_EXPAND_DIR_ERR : u32 = 2133571371 ; pub const EXT2_ET_TOOSMALL : u32 = 2133571372 ; pub const EXT2_ET_BAD_BLOCK_MARK : u32 = 2133571373 ; pub const EXT2_ET_BAD_BLOCK_UNMARK : u32 = 2133571374 ; pub const EXT2_ET_BAD_BLOCK_TEST : u32 = 2133571375 ; pub const EXT2_ET_BAD_INODE_MARK : u32 = 2133571376 ; pub const EXT2_ET_BAD_INODE_UNMARK : u32 = 2133571377 ; pub const EXT2_ET_BAD_INODE_TEST : u32 = 2133571378 ; pub const EXT2_ET_FUDGE_BLOCK_BITMAP_END : u32 = 2133571379 ; pub const EXT2_ET_FUDGE_INODE_BITMAP_END : u32 = 2133571380 ; pub const EXT2_ET_BAD_IND_BLOCK : u32 = 2133571381 ; pub const EXT2_ET_BAD_DIND_BLOCK : u32 = 2133571382 ; pub const EXT2_ET_BAD_TIND_BLOCK : u32 = 2133571383 ; pub const EXT2_ET_NEQ_BLOCK_BITMAP : u32 = 2133571384 ; pub const EXT2_ET_NEQ_INODE_BITMAP : u32 = 2133571385 ; pub const EXT2_ET_BAD_DEVICE_NAME : u32 = 2133571386 ; pub const EXT2_ET_MISSING_INODE_TABLE : u32 = 2133571387 ; pub const EXT2_ET_CORRUPT_SUPERBLOCK : u32 = 2133571388 ; pub const EXT2_ET_BAD_GENERIC_MARK : u32 = 2133571389 ; pub const EXT2_ET_BAD_GENERIC_UNMARK : u32 = 2133571390 ; pub const EXT2_ET_BAD_GENERIC_TEST : u32 = 2133571391 ; pub const EXT2_ET_SYMLINK_LOOP : u32 = 2133571392 ; pub const EXT2_ET_CALLBACK_NOTHANDLED : u32 = 2133571393 ; pub const EXT2_ET_BAD_BLOCK_IN_INODE_TABLE : u32 = 2133571394 ; pub const EXT2_ET_UNSUPP_FEATURE : u32 = 2133571395 ; pub const EXT2_ET_RO_UNSUPP_FEATURE : u32 = 2133571396 ; pub const EXT2_ET_LLSEEK_FAILED : u32 = 2133571397 ; pub const EXT2_ET_NO_MEMORY : u32 = 2133571398 ; pub const EXT2_ET_INVALID_ARGUMENT : u32 = 2133571399 ; pub const EXT2_ET_BLOCK_ALLOC_FAIL : u32 = 2133571400 ; pub const EXT2_ET_INODE_ALLOC_FAIL : u32 = 2133571401 ; pub const EXT2_ET_NO_DIRECTORY : u32 = 2133571402 ; pub const EXT2_ET_TOO_MANY_REFS : u32 = 2133571403 ; pub const EXT2_ET_FILE_NOT_FOUND : u32 = 2133571404 ; pub const EXT2_ET_FILE_RO : u32 = 2133571405 ; pub const EXT2_ET_DB_NOT_FOUND : u32 = 2133571406 ; pub const EXT2_ET_DIR_EXISTS : u32 = 2133571407 ; pub const EXT2_ET_UNIMPLEMENTED : u32 = 2133571408 ; pub const EXT2_ET_CANCEL_REQUESTED : u32 = 2133571409 ; pub const EXT2_ET_FILE_TOO_BIG : u32 = 2133571410 ; pub const EXT2_ET_JOURNAL_NOT_BLOCK : u32 = 2133571411 ; pub const EXT2_ET_NO_JOURNAL_SB : u32 = 2133571412 ; pub const EXT2_ET_JOURNAL_TOO_SMALL : u32 = 2133571413 ; pub const EXT2_ET_JOURNAL_UNSUPP_VERSION : u32 = 2133571414 ; pub const EXT2_ET_LOAD_EXT_JOURNAL : u32 = 2133571415 ; pub const EXT2_ET_NO_JOURNAL : u32 = 2133571416 ; pub const EXT2_ET_DIRHASH_UNSUPP : u32 = 2133571417 ; pub const EXT2_ET_BAD_EA_BLOCK_NUM : u32 = 2133571418 ; pub const EXT2_ET_TOO_MANY_INODES : u32 = 2133571419 ; pub const EXT2_ET_NOT_IMAGE_FILE : u32 = 2133571420 ; pub const EXT2_ET_RES_GDT_BLOCKS : u32 = 2133571421 ; pub const EXT2_ET_RESIZE_INODE_CORRUPT : u32 = 2133571422 ; pub const EXT2_ET_SET_BMAP_NO_IND : u32 = 2133571423 ; pub const EXT2_ET_TDB_SUCCESS : u32 = 2133571424 ; pub const EXT2_ET_TDB_ERR_CORRUPT : u32 = 2133571425 ; pub const EXT2_ET_TDB_ERR_IO : u32 = 2133571426 ; pub const EXT2_ET_TDB_ERR_LOCK : u32 = 2133571427 ; pub const EXT2_ET_TDB_ERR_OOM : u32 = 2133571428 ; pub const EXT2_ET_TDB_ERR_EXISTS : u32 = 2133571429 ; pub const EXT2_ET_TDB_ERR_NOLOCK : u32 = 2133571430 ; pub const EXT2_ET_TDB_ERR_EINVAL : u32 = 2133571431 ; pub const EXT2_ET_TDB_ERR_NOEXIST : u32 = 2133571432 ; pub const EXT2_ET_TDB_ERR_RDONLY : u32 = 2133571433 ; pub const EXT2_ET_DBLIST_EMPTY : u32 = 2133571434 ; pub const EXT2_ET_RO_BLOCK_ITERATE : u32 = 2133571435 ; pub const EXT2_ET_MAGIC_EXTENT_PATH : u32 = 2133571436 ; pub const EXT2_ET_MAGIC_GENERIC_BITMAP64 : u32 = 2133571437 ; pub const EXT2_ET_MAGIC_BLOCK_BITMAP64 : u32 = 2133571438 ; pub const EXT2_ET_MAGIC_INODE_BITMAP64 : u32 = 2133571439 ; pub const EXT2_ET_MAGIC_RESERVED_13 : u32 = 2133571440 ; pub const EXT2_ET_MAGIC_RESERVED_14 : u32 = 2133571441 ; pub const EXT2_ET_MAGIC_RESERVED_15 : u32 = 2133571442 ; pub const EXT2_ET_MAGIC_RESERVED_16 : u32 = 2133571443 ; pub const EXT2_ET_MAGIC_RESERVED_17 : u32 = 2133571444 ; pub const EXT2_ET_MAGIC_RESERVED_18 : u32 = 2133571445 ; pub const EXT2_ET_MAGIC_RESERVED_19 : u32 = 2133571446 ; pub const EXT2_ET_EXTENT_HEADER_BAD : u32 = 2133571447 ; pub const EXT2_ET_EXTENT_INDEX_BAD : u32 = 2133571448 ; pub const EXT2_ET_EXTENT_LEAF_BAD : u32 = 2133571449 ; pub const EXT2_ET_EXTENT_NO_SPACE : u32 = 2133571450 ; pub const EXT2_ET_INODE_NOT_EXTENT : u32 = 2133571451 ; pub const EXT2_ET_EXTENT_NO_NEXT : u32 = 2133571452 ; pub const EXT2_ET_EXTENT_NO_PREV : u32 = 2133571453 ; pub const EXT2_ET_EXTENT_NO_UP : u32 = 2133571454 ; pub const EXT2_ET_EXTENT_NO_DOWN : u32 = 2133571455 ; pub const EXT2_ET_NO_CURRENT_NODE : u32 = 2133571456 ; pub const EXT2_ET_OP_NOT_SUPPORTED : u32 = 2133571457 ; pub const EXT2_ET_CANT_INSERT_EXTENT : u32 = 2133571458 ; pub const EXT2_ET_CANT_SPLIT_EXTENT : u32 = 2133571459 ; pub const EXT2_ET_EXTENT_NOT_FOUND : u32 = 2133571460 ; pub const EXT2_ET_EXTENT_NOT_SUPPORTED : u32 = 2133571461 ; pub const EXT2_ET_EXTENT_INVALID_LENGTH : u32 = 2133571462 ; pub const EXT2_ET_IO_CHANNEL_NO_SUPPORT_64 : u32 = 2133571463 ; pub const EXT2_ET_NO_MTAB_FILE : u32 = 2133571464 ; pub const EXT2_ET_CANT_USE_LEGACY_BITMAPS : u32 = 2133571465 ; pub const EXT2_ET_MMP_MAGIC_INVALID : u32 = 2133571466 ; pub const EXT2_ET_MMP_FAILED : u32 = 2133571467 ; pub const EXT2_ET_MMP_FSCK_ON : u32 = 2133571468 ; pub const EXT2_ET_MMP_BAD_BLOCK : u32 = 2133571469 ; pub const EXT2_ET_MMP_UNKNOWN_SEQ : u32 = 2133571470 ; pub const EXT2_ET_MMP_CHANGE_ABORT : u32 = 2133571471 ; pub const EXT2_ET_MMP_OPEN_DIRECT : u32 = 2133571472 ; pub const EXT2_ET_BAD_DESC_SIZE : u32 = 2133571473 ; pub const EXT2_ET_INODE_CSUM_INVALID : u32 = 2133571474 ; pub const EXT2_ET_INODE_BITMAP_CSUM_INVALID : u32 = 2133571475 ; pub const EXT2_ET_EXTENT_CSUM_INVALID : u32 = 2133571476 ; pub const EXT2_ET_DIR_NO_SPACE_FOR_CSUM : u32 = 2133571477 ; pub const EXT2_ET_DIR_CSUM_INVALID : u32 = 2133571478 ; pub const EXT2_ET_EXT_ATTR_CSUM_INVALID : u32 = 2133571479 ; pub const EXT2_ET_SB_CSUM_INVALID : u32 = 2133571480 ; pub const EXT2_ET_UNKNOWN_CSUM : u32 = 2133571481 ; pub const EXT2_ET_MMP_CSUM_INVALID : u32 = 2133571482 ; pub const EXT2_ET_FILE_EXISTS : u32 = 2133571483 ; pub const EXT2_ET_BLOCK_BITMAP_CSUM_INVALID : u32 = 2133571484 ; pub const EXT2_ET_INLINE_DATA_CANT_ITERATE : u32 = 2133571485 ; pub const EXT2_ET_EA_BAD_NAME_LEN : u32 = 2133571486 ; pub const EXT2_ET_EA_BAD_VALUE_SIZE : u32 = 2133571487 ; pub const EXT2_ET_BAD_EA_HASH : u32 = 2133571488 ; pub const EXT2_ET_BAD_EA_HEADER : u32 = 2133571489 ; pub const EXT2_ET_EA_KEY_NOT_FOUND : u32 = 2133571490 ; pub const EXT2_ET_EA_NO_SPACE : u32 = 2133571491 ; pub const EXT2_ET_MISSING_EA_FEATURE : u32 = 2133571492 ; pub const EXT2_ET_NO_INLINE_DATA : u32 = 2133571493 ; pub const EXT2_ET_INLINE_DATA_NO_BLOCK : u32 = 2133571494 ; pub const EXT2_ET_INLINE_DATA_NO_SPACE : u32 = 2133571495 ; pub const EXT2_ET_MAGIC_EA_HANDLE : u32 = 2133571496 ; pub const EXT2_ET_INODE_IS_GARBAGE : u32 = 2133571497 ; pub const EXT2_ET_EA_BAD_VALUE_OFFSET : u32 = 2133571498 ; pub const EXT2_ET_JOURNAL_FLAGS_WRONG : u32 = 2133571499 ; pub const EXT2_ET_UNDO_FILE_CORRUPT : u32 = 2133571500 ; pub const EXT2_ET_UNDO_FILE_WRONG : u32 = 2133571501 ; pub const EXT2_ET_FILESYSTEM_CORRUPTED : u32 = 2133571502 ; pub const EXT2_ET_BAD_CRC : u32 = 2133571503 ; pub const EXT2_ET_CORRUPT_JOURNAL_SB : u32 = 2133571504 ; pub const EXT2_ET_INODE_CORRUPTED : u32 = 2133571505 ; pub const EXT2_ET_EA_INODE_CORRUPTED : u32 = 2133571506 ; pub const EXT2_ET_NO_GDESC : u32 = 2133571507 ; pub const EXT2_FILSYS_CORRUPTED : u32 = 2133571508 ; pub const EXT2_ET_EXTENT_CYCLE : u32 = 2133571509 ; pub const EXT2_ET_EXTERNAL_JOURNAL_NOSUPP : u32 = 2133571510 ; pub const EXT2_EXT_ATTR_MAGIC_v1 : u32 = 3925934080 ; pub const EXT2_EXT_ATTR_MAGIC : u32 = 3925999616 ; pub const EXT2_EXT_ATTR_REFCOUNT_MAX : u32 = 1024 ; pub const EXT2_EXT_ATTR_PAD_BITS : u32 = 2 ; pub const EXT2_XATTR_SIZE_MAX : u32 = 16777216 ; pub const EXT2_FILE_WRITE : u32 = 1 ; pub const EXT2_FILE_CREATE : u32 = 2 ; pub const EXT2_FILE_MASK : u32 = 255 ; pub const EXT2_FILE_BUF_DIRTY : u32 = 16384 ; pub const EXT2_FILE_BUF_VALID : u32 = 8192 ; pub const EXT2_SEEK_SET : u32 = 0 ; pub const EXT2_SEEK_CUR : u32 = 1 ; pub const EXT2_SEEK_END : u32 = 2 ; pub const EXT2_FLAG_RW : u32 = 1 ; pub const EXT2_FLAG_CHANGED : u32 = 2 ; pub const EXT2_FLAG_DIRTY : u32 = 4 ; pub const EXT2_FLAG_VALID : u32 = 8 ; pub const EXT2_FLAG_IB_DIRTY : u32 = 16 ; pub const EXT2_FLAG_BB_DIRTY : u32 = 32 ; pub const EXT2_FLAG_SWAP_BYTES : u32 = 64 ; pub const EXT2_FLAG_SWAP_BYTES_READ : u32 = 128 ; pub const EXT2_FLAG_SWAP_BYTES_WRITE : u32 = 256 ; pub const EXT2_FLAG_MASTER_SB_ONLY : u32 = 512 ; pub const EXT2_FLAG_FORCE : u32 = 1024 ; pub const EXT2_FLAG_SUPER_ONLY : u32 = 2048 ; pub const EXT2_FLAG_JOURNAL_DEV_OK : u32 = 4096 ; pub const EXT2_FLAG_IMAGE_FILE : u32 = 8192 ; pub const EXT2_FLAG_EXCLUSIVE : u32 = 16384 ; pub const EXT2_FLAG_SOFTSUPP_FEATURES : u32 = 32768 ; pub const EXT2_FLAG_NOFREE_ON_ERROR : u32 = 65536 ; pub const EXT2_FLAG_64BITS : u32 = 131072 ; pub const EXT2_FLAG_PRINT_PROGRESS : u32 = 262144 ; pub const EXT2_FLAG_DIRECT_IO : u32 = 524288 ; pub const EXT2_FLAG_SKIP_MMP : u32 = 1048576 ; pub const EXT2_FLAG_IGNORE_CSUM_ERRORS : u32 = 2097152 ; pub const EXT2_FLAG_SHARE_DUP : u32 = 4194304 ; pub const EXT2_FLAG_IGNORE_SB_ERRORS : u32 = 8388608 ; pub const EXT2_FLAG_BBITMAP_TAIL_PROBLEM : u32 = 16777216 ; pub const EXT2_FLAG_IBITMAP_TAIL_PROBLEM : u32 = 33554432 ; pub const EXT2_FLAG_THREADS : u32 = 67108864 ; pub const EXT2_FLAG_IGNORE_SWAP_DIRENT : u32 = 134217728 ; pub const EXT2_NEW_INODE_FL : u32 = 2147483648 ; pub const EXT2_MKJOURNAL_V1_SUPER : u32 = 1 ; pub const EXT2_MKJOURNAL_LAZYINIT : u32 = 2 ; pub const EXT2_MKJOURNAL_NO_MNT_CHECK : u32 = 4 ; pub const EXT2_JOURNAL_TO_FC_BLKS_RATIO : u32 = 64 ; pub const EXT2_EXTENT_FLAGS_LEAF : u32 = 1 ; pub const EXT2_EXTENT_FLAGS_UNINIT : u32 = 2 ; pub const EXT2_EXTENT_FLAGS_SECOND_VISIT : u32 = 4 ; pub const EXT2_EXTENT_CURRENT : u32 = 0 ; pub const EXT2_EXTENT_MOVE_MASK : u32 = 15 ; pub const EXT2_EXTENT_ROOT : u32 = 1 ; pub const EXT2_EXTENT_LAST_LEAF : u32 = 2 ; pub const EXT2_EXTENT_FIRST_SIB : u32 = 3 ; pub const EXT2_EXTENT_LAST_SIB : u32 = 4 ; pub const EXT2_EXTENT_NEXT_SIB : u32 = 5 ; pub const EXT2_EXTENT_PREV_SIB : u32 = 6 ; pub const EXT2_EXTENT_NEXT_LEAF : u32 = 7 ; pub const EXT2_EXTENT_PREV_LEAF : u32 = 8 ; pub const EXT2_EXTENT_NEXT : u32 = 9 ; pub const EXT2_EXTENT_PREV : u32 = 10 ; pub const EXT2_EXTENT_UP : u32 = 11 ; pub const EXT2_EXTENT_DOWN : u32 = 12 ; pub const EXT2_EXTENT_DOWN_AND_LAST : u32 = 13 ; pub const EXT2_EXTENT_INSERT_AFTER : u32 = 1 ; pub const EXT2_EXTENT_INSERT_NOSPLIT : u32 = 2 ; pub const EXT2_EXTENT_DELETE_KEEP_EMPTY : u32 = 1 ; pub const EXT2_EXTENT_SET_BMAP_UNINIT : u32 = 1 ; pub const EXT2_DIRBLOCK_V2_STRUCT : u32 = 1 ; pub const EXT2_SF_CHK_BADBLOCKS : u32 = 1 ; pub const EXT2_SF_BAD_INODE_BLK : u32 = 2 ; pub const EXT2_SF_BAD_EXTRA_BYTES : u32 = 4 ; pub const EXT2_SF_SKIP_MISSING_ITABLE : u32 = 8 ; pub const EXT2_SF_DO_LAZY : u32 = 16 ; pub const EXT2_SF_WARN_GARBAGE_INODES : u32 = 32 ; pub const EXT2_MF_MOUNTED : u32 = 1 ; pub const EXT2_MF_ISROOT : u32 = 2 ; pub const EXT2_MF_READONLY : u32 = 4 ; pub const EXT2_MF_SWAP : u32 = 8 ; pub const EXT2_MF_BUSY : u32 = 16 ; pub const EXT2_MF_EXTFS : u32 = 32 ; pub const LINUX_S_IFMT : u32 = 61440 ; pub const LINUX_S_IFSOCK : u32 = 49152 ; pub const LINUX_S_IFLNK : u32 = 40960 ; pub const LINUX_S_IFREG : u32 = 32768 ; pub const LINUX_S_IFBLK : u32 = 24576 ; pub const LINUX_S_IFDIR : u32 = 16384 ; pub const LINUX_S_IFCHR : u32 = 8192 ; pub const LINUX_S_IFIFO : u32 = 4096 ; pub const LINUX_S_ISUID : u32 = 2048 ; pub const LINUX_S_ISGID : u32 = 1024 ; pub const LINUX_S_ISVTX : u32 = 512 ; pub const LINUX_S_IRWXU : u32 = 448 ; pub const LINUX_S_IRUSR : u32 = 256 ; pub const LINUX_S_IWUSR : u32 = 128 ; pub const LINUX_S_IXUSR : u32 = 64 ; pub const LINUX_S_IRWXG : u32 = 56 ; pub const LINUX_S_IRGRP : u32 = 32 ; pub const LINUX_S_IWGRP : u32 = 16 ; pub const LINUX_S_IXGRP : u32 = 8 ; pub const LINUX_S_IRWXO : u32 = 7 ; pub const LINUX_S_IROTH : u32 = 4 ; pub const LINUX_S_IWOTH : u32 = 2 ; pub const LINUX_S_IXOTH : u32 = 1 ; pub const EXT2_ICOUNT_OPT_INCREMENT : u32 = 1 ; pub const EXT2_ICOUNT_OPT_FULLMAP : u32 = 2 ; pub const EXT2_LIB_FEATURE_COMPAT_SUPP : u32 = 7743 ; pub const EXT4_LIB_INCOMPAT_MMP : u32 = 0 ; pub const EXT2_LIB_FEATURE_INCOMPAT_SUPP : u32 = 255710 ; pub const EXT2_LIB_FEATURE_RO_COMPAT_SUPP : u32 = 128891 ; pub const EXT2_LIB_SOFTSUPP_INCOMPAT : u32 = 0 ; pub const EXT2_LIB_SOFTSUPP_RO_COMPAT : u32 = 2048 ; pub const EXT2_FLAG_FLUSH_NO_SYNC : u32 = 1 ; pub const EXT2_NEWRANGE_FIXED_GOAL : u32 = 1 ; pub const EXT2_NEWRANGE_MIN_LENGTH : u32 = 2 ; pub const EXT2_NEWRANGE_ALL_FLAGS : u32 = 3 ; pub const EXT2_ALLOCRANGE_FIXED_GOAL : u32 = 1 ; pub const EXT2_ALLOCRANGE_ZERO_BLOCKS : u32 = 2 ; pub const EXT2_ALLOCRANGE_ALL_FLAGS : u32 = 3 ; pub const EXT2_FALLOCATE_ZERO_BLOCKS : u32 = 1 ; pub const EXT2_FALLOCATE_FORCE_INIT : u32 = 2 ; pub const EXT2_FALLOCATE_FORCE_UNINIT : u32 = 4 ; pub const EXT2_FALLOCATE_INIT_BEYOND_EOF : u32 = 8 ; pub const EXT2_FALLOCATE_ALL_FLAGS : u32 = 15 ; pub const EXT2_INODE_SCAN_DEFAULT_BUFFER_BLOCKS : u32 = 8 ; pub const EXT4_HTREE_LEVEL_COMPAT : u32 = 2 ; pub const EXT4_HTREE_LEVEL : u32 = 3 ; pub type errcode_t = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct error_table { pub msgs : * const * const :: std :: os :: raw :: c_char , pub base : :: std :: os :: raw :: c_long , pub n_msgs : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of error_table"] [:: std :: mem :: size_of :: < error_table > () - 24usize] ; ["Alignment of error_table"] [:: std :: mem :: align_of :: < error_table > () - 8usize] ; ["Offset of field: error_table::msgs"] [:: std :: mem :: offset_of ! (error_table , msgs) - 0usize] ; ["Offset of field: error_table::base"] [:: std :: mem :: offset_of ! (error_table , base) - 8usize] ; ["Offset of field: error_table::n_msgs"] [:: std :: mem :: offset_of ! (error_table , n_msgs) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct et_list { _unused : [u8 ; 0] , } unsafe extern "C" { pub fn error_message (arg1 : :: std :: os :: raw :: c_long) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn init_error_table (msgs : * const * const :: std :: os :: raw :: c_char , base : :: std :: os :: raw :: c_long , count : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn add_error_table (et : * const error_table) -> errcode_t ; } unsafe extern "C" { pub fn remove_error_table (et : * const error_table) -> errcode_t ; } unsafe extern "C" { pub fn add_to_error_table (new_table : * mut et_list) ; } unsafe extern "C" { pub fn free_error_table (et : * mut et_list) ; } pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type dev_t = __dev_t ; pub type mode_t = __mode_t ; pub type time_t = __time_t ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [:: std :: os :: raw :: c_char ; 20usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_flags2"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags2) - 116usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::__pad5"] [:: std :: mem :: offset_of ! (_IO_FILE , __pad5) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 196usize] ; } ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __le16 = __u16 ; pub type __le32 = __u32 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_acl_header { pub aclh_size : __u32 , pub aclh_file_count : __u32 , pub aclh_acle_count : __u32 , pub aclh_first_acle : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_acl_header"] [:: std :: mem :: size_of :: < ext2_acl_header > () - 16usize] ; ["Alignment of ext2_acl_header"] [:: std :: mem :: align_of :: < ext2_acl_header > () - 4usize] ; ["Offset of field: ext2_acl_header::aclh_size"] [:: std :: mem :: offset_of ! (ext2_acl_header , aclh_size) - 0usize] ; ["Offset of field: ext2_acl_header::aclh_file_count"] [:: std :: mem :: offset_of ! (ext2_acl_header , aclh_file_count) - 4usize] ; ["Offset of field: ext2_acl_header::aclh_acle_count"] [:: std :: mem :: offset_of ! (ext2_acl_header , aclh_acle_count) - 8usize] ; ["Offset of field: ext2_acl_header::aclh_first_acle"] [:: std :: mem :: offset_of ! (ext2_acl_header , aclh_first_acle) - 12usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_acl_entry { pub acle_size : __u32 , pub acle_perms : __u16 , pub acle_type : __u16 , pub acle_tag : __u16 , pub acle_pad1 : __u16 , pub acle_next : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_acl_entry"] [:: std :: mem :: size_of :: < ext2_acl_entry > () - 16usize] ; ["Alignment of ext2_acl_entry"] [:: std :: mem :: align_of :: < ext2_acl_entry > () - 4usize] ; ["Offset of field: ext2_acl_entry::acle_size"] [:: std :: mem :: offset_of ! (ext2_acl_entry , acle_size) - 0usize] ; ["Offset of field: ext2_acl_entry::acle_perms"] [:: std :: mem :: offset_of ! (ext2_acl_entry , acle_perms) - 4usize] ; ["Offset of field: ext2_acl_entry::acle_type"] [:: std :: mem :: offset_of ! (ext2_acl_entry , acle_type) - 6usize] ; ["Offset of field: ext2_acl_entry::acle_tag"] [:: std :: mem :: offset_of ! (ext2_acl_entry , acle_tag) - 8usize] ; ["Offset of field: ext2_acl_entry::acle_pad1"] [:: std :: mem :: offset_of ! (ext2_acl_entry , acle_pad1) - 10usize] ; ["Offset of field: ext2_acl_entry::acle_next"] [:: std :: mem :: offset_of ! (ext2_acl_entry , acle_next) - 12usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_group_desc { pub bg_block_bitmap : __u32 , pub bg_inode_bitmap : __u32 , pub bg_inode_table : __u32 , pub bg_free_blocks_count : __u16 , pub bg_free_inodes_count : __u16 , pub bg_used_dirs_count : __u16 , pub bg_flags : __u16 , pub bg_exclude_bitmap_lo : __u32 , pub bg_block_bitmap_csum_lo : __u16 , pub bg_inode_bitmap_csum_lo : __u16 , pub bg_itable_unused : __u16 , pub bg_checksum : __u16 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_group_desc"] [:: std :: mem :: size_of :: < ext2_group_desc > () - 32usize] ; ["Alignment of ext2_group_desc"] [:: std :: mem :: align_of :: < ext2_group_desc > () - 4usize] ; ["Offset of field: ext2_group_desc::bg_block_bitmap"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_block_bitmap) - 0usize] ; ["Offset of field: ext2_group_desc::bg_inode_bitmap"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_inode_bitmap) - 4usize] ; ["Offset of field: ext2_group_desc::bg_inode_table"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_inode_table) - 8usize] ; ["Offset of field: ext2_group_desc::bg_free_blocks_count"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_free_blocks_count) - 12usize] ; ["Offset of field: ext2_group_desc::bg_free_inodes_count"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_free_inodes_count) - 14usize] ; ["Offset of field: ext2_group_desc::bg_used_dirs_count"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_used_dirs_count) - 16usize] ; ["Offset of field: ext2_group_desc::bg_flags"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_flags) - 18usize] ; ["Offset of field: ext2_group_desc::bg_exclude_bitmap_lo"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_exclude_bitmap_lo) - 20usize] ; ["Offset of field: ext2_group_desc::bg_block_bitmap_csum_lo"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_block_bitmap_csum_lo) - 24usize] ; ["Offset of field: ext2_group_desc::bg_inode_bitmap_csum_lo"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_inode_bitmap_csum_lo) - 26usize] ; ["Offset of field: ext2_group_desc::bg_itable_unused"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_itable_unused) - 28usize] ; ["Offset of field: ext2_group_desc::bg_checksum"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_checksum) - 30usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dx_root_info { pub reserved_zero : __u32 , pub hash_version : __u8 , pub info_length : __u8 , pub indirect_levels : __u8 , pub unused_flags : __u8 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dx_root_info"] [:: std :: mem :: size_of :: < ext2_dx_root_info > () - 8usize] ; ["Alignment of ext2_dx_root_info"] [:: std :: mem :: align_of :: < ext2_dx_root_info > () - 4usize] ; ["Offset of field: ext2_dx_root_info::reserved_zero"] [:: std :: mem :: offset_of ! (ext2_dx_root_info , reserved_zero) - 0usize] ; ["Offset of field: ext2_dx_root_info::hash_version"] [:: std :: mem :: offset_of ! (ext2_dx_root_info , hash_version) - 4usize] ; ["Offset of field: ext2_dx_root_info::info_length"] [:: std :: mem :: offset_of ! (ext2_dx_root_info , info_length) - 5usize] ; ["Offset of field: ext2_dx_root_info::indirect_levels"] [:: std :: mem :: offset_of ! (ext2_dx_root_info , indirect_levels) - 6usize] ; ["Offset of field: ext2_dx_root_info::unused_flags"] [:: std :: mem :: offset_of ! (ext2_dx_root_info , unused_flags) - 7usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dx_entry { pub hash : __le32 , pub block : __le32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dx_entry"] [:: std :: mem :: size_of :: < ext2_dx_entry > () - 8usize] ; ["Alignment of ext2_dx_entry"] [:: std :: mem :: align_of :: < ext2_dx_entry > () - 4usize] ; ["Offset of field: ext2_dx_entry::hash"] [:: std :: mem :: offset_of ! (ext2_dx_entry , hash) - 0usize] ; ["Offset of field: ext2_dx_entry::block"] [:: std :: mem :: offset_of ! (ext2_dx_entry , block) - 4usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dx_countlimit { pub limit : __le16 , pub count : __le16 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dx_countlimit"] [:: std :: mem :: size_of :: < ext2_dx_countlimit > () - 4usize] ; ["Alignment of ext2_dx_countlimit"] [:: std :: mem :: align_of :: < ext2_dx_countlimit > () - 2usize] ; ["Offset of field: ext2_dx_countlimit::limit"] [:: std :: mem :: offset_of ! (ext2_dx_countlimit , limit) - 0usize] ; ["Offset of field: ext2_dx_countlimit::count"] [:: std :: mem :: offset_of ! (ext2_dx_countlimit , count) - 2usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dx_tail { pub dt_reserved : __le32 , pub dt_checksum : __le32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dx_tail"] [:: std :: mem :: size_of :: < ext2_dx_tail > () - 8usize] ; ["Alignment of ext2_dx_tail"] [:: std :: mem :: align_of :: < ext2_dx_tail > () - 4usize] ; ["Offset of field: ext2_dx_tail::dt_reserved"] [:: std :: mem :: offset_of ! (ext2_dx_tail , dt_reserved) - 0usize] ; ["Offset of field: ext2_dx_tail::dt_checksum"] [:: std :: mem :: offset_of ! (ext2_dx_tail , dt_checksum) - 4usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_new_group_input { pub group : __u32 , pub block_bitmap : __u32 , pub inode_bitmap : __u32 , pub inode_table : __u32 , pub blocks_count : __u32 , pub reserved_blocks : __u16 , pub unused : __u16 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_new_group_input"] [:: std :: mem :: size_of :: < ext2_new_group_input > () - 24usize] ; ["Alignment of ext2_new_group_input"] [:: std :: mem :: align_of :: < ext2_new_group_input > () - 4usize] ; ["Offset of field: ext2_new_group_input::group"] [:: std :: mem :: offset_of ! (ext2_new_group_input , group) - 0usize] ; ["Offset of field: ext2_new_group_input::block_bitmap"] [:: std :: mem :: offset_of ! (ext2_new_group_input , block_bitmap) - 4usize] ; ["Offset of field: ext2_new_group_input::inode_bitmap"] [:: std :: mem :: offset_of ! (ext2_new_group_input , inode_bitmap) - 8usize] ; ["Offset of field: ext2_new_group_input::inode_table"] [:: std :: mem :: offset_of ! (ext2_new_group_input , inode_table) - 12usize] ; ["Offset of field: ext2_new_group_input::blocks_count"] [:: std :: mem :: offset_of ! (ext2_new_group_input , blocks_count) - 16usize] ; ["Offset of field: ext2_new_group_input::reserved_blocks"] [:: std :: mem :: offset_of ! (ext2_new_group_input , reserved_blocks) - 20usize] ; ["Offset of field: ext2_new_group_input::unused"] [:: std :: mem :: offset_of ! (ext2_new_group_input , unused) - 22usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct ext2_inode { pub i_mode : __u16 , pub i_uid : __u16 , pub i_size : __u32 , pub i_atime : __u32 , pub i_ctime : __u32 , pub i_mtime : __u32 , pub i_dtime : __u32 , pub i_gid : __u16 , pub i_links_count : __u16 , pub i_blocks : __u32 , pub i_flags : __u32 , pub osd1 : ext2_inode__bindgen_ty_1 , pub i_block : [__u32 ; 15usize] , pub i_generation : __u32 , pub i_file_acl : __u32 , pub i_size_high : __u32 , pub i_faddr : __u32 , pub osd2 : ext2_inode__bindgen_ty_2 , } # [repr (C)] # [derive (Copy , Clone)] pub union ext2_inode__bindgen_ty_1 { pub linux1 : ext2_inode__bindgen_ty_1__bindgen_ty_1 , pub hurd1 : ext2_inode__bindgen_ty_1__bindgen_ty_2 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode__bindgen_ty_1__bindgen_ty_1 { pub l_i_version : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode__bindgen_ty_1__bindgen_ty_1"] [:: std :: mem :: size_of :: < ext2_inode__bindgen_ty_1__bindgen_ty_1 > () - 4usize] ; ["Alignment of ext2_inode__bindgen_ty_1__bindgen_ty_1"] [:: std :: mem :: align_of :: < ext2_inode__bindgen_ty_1__bindgen_ty_1 > () - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_1__bindgen_ty_1::l_i_version"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_1__bindgen_ty_1 , l_i_version) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode__bindgen_ty_1__bindgen_ty_2 { pub h_i_translator : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode__bindgen_ty_1__bindgen_ty_2"] [:: std :: mem :: size_of :: < ext2_inode__bindgen_ty_1__bindgen_ty_2 > () - 4usize] ; ["Alignment of ext2_inode__bindgen_ty_1__bindgen_ty_2"] [:: std :: mem :: align_of :: < ext2_inode__bindgen_ty_1__bindgen_ty_2 > () - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_1__bindgen_ty_2::h_i_translator"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_1__bindgen_ty_2 , h_i_translator) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode__bindgen_ty_1"] [:: std :: mem :: size_of :: < ext2_inode__bindgen_ty_1 > () - 4usize] ; ["Alignment of ext2_inode__bindgen_ty_1"] [:: std :: mem :: align_of :: < ext2_inode__bindgen_ty_1 > () - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_1::linux1"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_1 , linux1) - 0usize] ; ["Offset of field: ext2_inode__bindgen_ty_1::hurd1"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_1 , hurd1) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union ext2_inode__bindgen_ty_2 { pub linux2 : ext2_inode__bindgen_ty_2__bindgen_ty_1 , pub hurd2 : ext2_inode__bindgen_ty_2__bindgen_ty_2 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode__bindgen_ty_2__bindgen_ty_1 { pub l_i_blocks_hi : __u16 , pub l_i_file_acl_high : __u16 , pub l_i_uid_high : __u16 , pub l_i_gid_high : __u16 , pub l_i_checksum_lo : __u16 , pub l_i_reserved : __u16 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode__bindgen_ty_2__bindgen_ty_1"] [:: std :: mem :: size_of :: < ext2_inode__bindgen_ty_2__bindgen_ty_1 > () - 12usize] ; ["Alignment of ext2_inode__bindgen_ty_2__bindgen_ty_1"] [:: std :: mem :: align_of :: < ext2_inode__bindgen_ty_2__bindgen_ty_1 > () - 2usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_1::l_i_blocks_hi"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_1 , l_i_blocks_hi) - 0usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_1::l_i_file_acl_high"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_1 , l_i_file_acl_high) - 2usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_1::l_i_uid_high"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_1 , l_i_uid_high) - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_1::l_i_gid_high"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_1 , l_i_gid_high) - 6usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_1::l_i_checksum_lo"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_1 , l_i_checksum_lo) - 8usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_1::l_i_reserved"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_1 , l_i_reserved) - 10usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode__bindgen_ty_2__bindgen_ty_2 { pub h_i_frag : __u8 , pub h_i_fsize : __u8 , pub h_i_mode_high : __u16 , pub h_i_uid_high : __u16 , pub h_i_gid_high : __u16 , pub h_i_author : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode__bindgen_ty_2__bindgen_ty_2"] [:: std :: mem :: size_of :: < ext2_inode__bindgen_ty_2__bindgen_ty_2 > () - 12usize] ; ["Alignment of ext2_inode__bindgen_ty_2__bindgen_ty_2"] [:: std :: mem :: align_of :: < ext2_inode__bindgen_ty_2__bindgen_ty_2 > () - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_2::h_i_frag"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_2 , h_i_frag) - 0usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_2::h_i_fsize"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_2 , h_i_fsize) - 1usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_2::h_i_mode_high"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_2 , h_i_mode_high) - 2usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_2::h_i_uid_high"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_2 , h_i_uid_high) - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_2::h_i_gid_high"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_2 , h_i_gid_high) - 6usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_2::h_i_author"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_2 , h_i_author) - 8usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode__bindgen_ty_2"] [:: std :: mem :: size_of :: < ext2_inode__bindgen_ty_2 > () - 12usize] ; ["Alignment of ext2_inode__bindgen_ty_2"] [:: std :: mem :: align_of :: < ext2_inode__bindgen_ty_2 > () - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_2::linux2"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2 , linux2) - 0usize] ; ["Offset of field: ext2_inode__bindgen_ty_2::hurd2"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2 , hurd2) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode"] [:: std :: mem :: size_of :: < ext2_inode > () - 128usize] ; ["Alignment of ext2_inode"] [:: std :: mem :: align_of :: < ext2_inode > () - 4usize] ; ["Offset of field: ext2_inode::i_mode"] [:: std :: mem :: offset_of ! (ext2_inode , i_mode) - 0usize] ; ["Offset of field: ext2_inode::i_uid"] [:: std :: mem :: offset_of ! (ext2_inode , i_uid) - 2usize] ; ["Offset of field: ext2_inode::i_size"] [:: std :: mem :: offset_of ! (ext2_inode , i_size) - 4usize] ; ["Offset of field: ext2_inode::i_atime"] [:: std :: mem :: offset_of ! (ext2_inode , i_atime) - 8usize] ; ["Offset of field: ext2_inode::i_ctime"] [:: std :: mem :: offset_of ! (ext2_inode , i_ctime) - 12usize] ; ["Offset of field: ext2_inode::i_mtime"] [:: std :: mem :: offset_of ! (ext2_inode , i_mtime) - 16usize] ; ["Offset of field: ext2_inode::i_dtime"] [:: std :: mem :: offset_of ! (ext2_inode , i_dtime) - 20usize] ; ["Offset of field: ext2_inode::i_gid"] [:: std :: mem :: offset_of ! (ext2_inode , i_gid) - 24usize] ; ["Offset of field: ext2_inode::i_links_count"] [:: std :: mem :: offset_of ! (ext2_inode , i_links_count) - 26usize] ; ["Offset of field: ext2_inode::i_blocks"] [:: std :: mem :: offset_of ! (ext2_inode , i_blocks) - 28usize] ; ["Offset of field: ext2_inode::i_flags"] [:: std :: mem :: offset_of ! (ext2_inode , i_flags) - 32usize] ; ["Offset of field: ext2_inode::osd1"] [:: std :: mem :: offset_of ! (ext2_inode , osd1) - 36usize] ; ["Offset of field: ext2_inode::i_block"] [:: std :: mem :: offset_of ! (ext2_inode , i_block) - 40usize] ; ["Offset of field: ext2_inode::i_generation"] [:: std :: mem :: offset_of ! (ext2_inode , i_generation) - 100usize] ; ["Offset of field: ext2_inode::i_file_acl"] [:: std :: mem :: offset_of ! (ext2_inode , i_file_acl) - 104usize] ; ["Offset of field: ext2_inode::i_size_high"] [:: std :: mem :: offset_of ! (ext2_inode , i_size_high) - 108usize] ; ["Offset of field: ext2_inode::i_faddr"] [:: std :: mem :: offset_of ! (ext2_inode , i_faddr) - 112usize] ; ["Offset of field: ext2_inode::osd2"] [:: std :: mem :: offset_of ! (ext2_inode , osd2) - 116usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct ext2_inode_large { pub i_mode : __u16 , pub i_uid : __u16 , pub i_size : __u32 , pub i_atime : __u32 , pub i_ctime : __u32 , pub i_mtime : __u32 , pub i_dtime : __u32 , pub i_gid : __u16 , pub i_links_count : __u16 , pub i_blocks : __u32 , pub i_flags : __u32 , pub osd1 : ext2_inode_large__bindgen_ty_1 , pub i_block : [__u32 ; 15usize] , pub i_generation : __u32 , pub i_file_acl : __u32 , pub i_size_high : __u32 , pub i_faddr : __u32 , pub osd2 : ext2_inode_large__bindgen_ty_2 , pub i_extra_isize : __u16 , pub i_checksum_hi : __u16 , pub i_ctime_extra : __u32 , pub i_mtime_extra : __u32 , pub i_atime_extra : __u32 , pub i_crtime : __u32 , pub i_crtime_extra : __u32 , pub i_version_hi : __u32 , pub i_projid : __u32 , } # [repr (C)] # [derive (Copy , Clone)] pub union ext2_inode_large__bindgen_ty_1 { pub linux1 : ext2_inode_large__bindgen_ty_1__bindgen_ty_1 , pub hurd1 : ext2_inode_large__bindgen_ty_1__bindgen_ty_2 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode_large__bindgen_ty_1__bindgen_ty_1 { pub l_i_version : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large__bindgen_ty_1__bindgen_ty_1"] [:: std :: mem :: size_of :: < ext2_inode_large__bindgen_ty_1__bindgen_ty_1 > () - 4usize] ; ["Alignment of ext2_inode_large__bindgen_ty_1__bindgen_ty_1"] [:: std :: mem :: align_of :: < ext2_inode_large__bindgen_ty_1__bindgen_ty_1 > () - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_1__bindgen_ty_1::l_i_version"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_1__bindgen_ty_1 , l_i_version) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode_large__bindgen_ty_1__bindgen_ty_2 { pub h_i_translator : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large__bindgen_ty_1__bindgen_ty_2"] [:: std :: mem :: size_of :: < ext2_inode_large__bindgen_ty_1__bindgen_ty_2 > () - 4usize] ; ["Alignment of ext2_inode_large__bindgen_ty_1__bindgen_ty_2"] [:: std :: mem :: align_of :: < ext2_inode_large__bindgen_ty_1__bindgen_ty_2 > () - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_1__bindgen_ty_2::h_i_translator"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_1__bindgen_ty_2 , h_i_translator) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large__bindgen_ty_1"] [:: std :: mem :: size_of :: < ext2_inode_large__bindgen_ty_1 > () - 4usize] ; ["Alignment of ext2_inode_large__bindgen_ty_1"] [:: std :: mem :: align_of :: < ext2_inode_large__bindgen_ty_1 > () - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_1::linux1"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_1 , linux1) - 0usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_1::hurd1"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_1 , hurd1) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union ext2_inode_large__bindgen_ty_2 { pub linux2 : ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , pub hurd2 : ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode_large__bindgen_ty_2__bindgen_ty_1 { pub l_i_blocks_hi : __u16 , pub l_i_file_acl_high : __u16 , pub l_i_uid_high : __u16 , pub l_i_gid_high : __u16 , pub l_i_checksum_lo : __u16 , pub l_i_reserved : __u16 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large__bindgen_ty_2__bindgen_ty_1"] [:: std :: mem :: size_of :: < ext2_inode_large__bindgen_ty_2__bindgen_ty_1 > () - 12usize] ; ["Alignment of ext2_inode_large__bindgen_ty_2__bindgen_ty_1"] [:: std :: mem :: align_of :: < ext2_inode_large__bindgen_ty_2__bindgen_ty_1 > () - 2usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_1::l_i_blocks_hi"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , l_i_blocks_hi) - 0usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_1::l_i_file_acl_high"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , l_i_file_acl_high) - 2usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_1::l_i_uid_high"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , l_i_uid_high) - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_1::l_i_gid_high"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , l_i_gid_high) - 6usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_1::l_i_checksum_lo"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , l_i_checksum_lo) - 8usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_1::l_i_reserved"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , l_i_reserved) - 10usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode_large__bindgen_ty_2__bindgen_ty_2 { pub h_i_frag : __u8 , pub h_i_fsize : __u8 , pub h_i_mode_high : __u16 , pub h_i_uid_high : __u16 , pub h_i_gid_high : __u16 , pub h_i_author : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large__bindgen_ty_2__bindgen_ty_2"] [:: std :: mem :: size_of :: < ext2_inode_large__bindgen_ty_2__bindgen_ty_2 > () - 12usize] ; ["Alignment of ext2_inode_large__bindgen_ty_2__bindgen_ty_2"] [:: std :: mem :: align_of :: < ext2_inode_large__bindgen_ty_2__bindgen_ty_2 > () - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_2::h_i_frag"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , h_i_frag) - 0usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_2::h_i_fsize"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , h_i_fsize) - 1usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_2::h_i_mode_high"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , h_i_mode_high) - 2usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_2::h_i_uid_high"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , h_i_uid_high) - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_2::h_i_gid_high"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , h_i_gid_high) - 6usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_2::h_i_author"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , h_i_author) - 8usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large__bindgen_ty_2"] [:: std :: mem :: size_of :: < ext2_inode_large__bindgen_ty_2 > () - 12usize] ; ["Alignment of ext2_inode_large__bindgen_ty_2"] [:: std :: mem :: align_of :: < ext2_inode_large__bindgen_ty_2 > () - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2::linux2"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2 , linux2) - 0usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2::hurd2"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2 , hurd2) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large"] [:: std :: mem :: size_of :: < ext2_inode_large > () - 160usize] ; ["Alignment of ext2_inode_large"] [:: std :: mem :: align_of :: < ext2_inode_large > () - 4usize] ; ["Offset of field: ext2_inode_large::i_mode"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_mode) - 0usize] ; ["Offset of field: ext2_inode_large::i_uid"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_uid) - 2usize] ; ["Offset of field: ext2_inode_large::i_size"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_size) - 4usize] ; ["Offset of field: ext2_inode_large::i_atime"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_atime) - 8usize] ; ["Offset of field: ext2_inode_large::i_ctime"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_ctime) - 12usize] ; ["Offset of field: ext2_inode_large::i_mtime"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_mtime) - 16usize] ; ["Offset of field: ext2_inode_large::i_dtime"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_dtime) - 20usize] ; ["Offset of field: ext2_inode_large::i_gid"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_gid) - 24usize] ; ["Offset of field: ext2_inode_large::i_links_count"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_links_count) - 26usize] ; ["Offset of field: ext2_inode_large::i_blocks"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_blocks) - 28usize] ; ["Offset of field: ext2_inode_large::i_flags"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_flags) - 32usize] ; ["Offset of field: ext2_inode_large::osd1"] [:: std :: mem :: offset_of ! (ext2_inode_large , osd1) - 36usize] ; ["Offset of field: ext2_inode_large::i_block"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_block) - 40usize] ; ["Offset of field: ext2_inode_large::i_generation"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_generation) - 100usize] ; ["Offset of field: ext2_inode_large::i_file_acl"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_file_acl) - 104usize] ; ["Offset of field: ext2_inode_large::i_size_high"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_size_high) - 108usize] ; ["Offset of field: ext2_inode_large::i_faddr"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_faddr) - 112usize] ; ["Offset of field: ext2_inode_large::osd2"] [:: std :: mem :: offset_of ! (ext2_inode_large , osd2) - 116usize] ; ["Offset of field: ext2_inode_large::i_extra_isize"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_extra_isize) - 128usize] ; ["Offset of field: ext2_inode_large::i_checksum_hi"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_checksum_hi) - 130usize] ; ["Offset of field: ext2_inode_large::i_ctime_extra"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_ctime_extra) - 132usize] ; ["Offset of field: ext2_inode_large::i_mtime_extra"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_mtime_extra) - 136usize] ; ["Offset of field: ext2_inode_large::i_atime_extra"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_atime_extra) - 140usize] ; ["Offset of field: ext2_inode_large::i_crtime"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_crtime) - 144usize] ; ["Offset of field: ext2_inode_large::i_crtime_extra"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_crtime_extra) - 148usize] ; ["Offset of field: ext2_inode_large::i_version_hi"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_version_hi) - 152usize] ; ["Offset of field: ext2_inode_large::i_projid"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_projid) - 156usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_super_block { pub s_inodes_count : __u32 , pub s_blocks_count : __u32 , pub s_r_blocks_count : __u32 , pub s_free_blocks_count : __u32 , pub s_free_inodes_count : __u32 , pub s_first_data_block : __u32 , pub s_log_block_size : __u32 , pub s_log_cluster_size : __u32 , pub s_blocks_per_group : __u32 , pub s_clusters_per_group : __u32 , pub s_inodes_per_group : __u32 , pub s_mtime : __u32 , pub s_wtime : __u32 , pub s_mnt_count : __u16 , pub s_max_mnt_count : __s16 , pub s_magic : __u16 , pub s_state : __u16 , pub s_errors : __u16 , pub s_minor_rev_level : __u16 , pub s_lastcheck : __u32 , pub s_checkinterval : __u32 , pub s_creator_os : __u32 , pub s_rev_level : __u32 , pub s_def_resuid : __u16 , pub s_def_resgid : __u16 , pub s_first_ino : __u32 , pub s_inode_size : __u16 , pub s_block_group_nr : __u16 , pub s_feature_compat : __u32 , pub s_feature_incompat : __u32 , pub s_feature_ro_compat : __u32 , pub s_uuid : [__u8 ; 16usize] , pub s_volume_name : [__u8 ; 16usize] , pub s_last_mounted : [__u8 ; 64usize] , pub s_algorithm_usage_bitmap : __u32 , pub s_prealloc_blocks : __u8 , pub s_prealloc_dir_blocks : __u8 , pub s_reserved_gdt_blocks : __u16 , pub s_journal_uuid : [__u8 ; 16usize] , pub s_journal_inum : __u32 , pub s_journal_dev : __u32 , pub s_last_orphan : __u32 , pub s_hash_seed : [__u32 ; 4usize] , pub s_def_hash_version : __u8 , pub s_jnl_backup_type : __u8 , pub s_desc_size : __u16 , pub s_default_mount_opts : __u32 , pub s_first_meta_bg : __u32 , pub s_mkfs_time : __u32 , pub s_jnl_blocks : [__u32 ; 17usize] , pub s_blocks_count_hi : __u32 , pub s_r_blocks_count_hi : __u32 , pub s_free_blocks_hi : __u32 , pub s_min_extra_isize : __u16 , pub s_want_extra_isize : __u16 , pub s_flags : __u32 , pub s_raid_stride : __u16 , pub s_mmp_update_interval : __u16 , pub s_mmp_block : __u64 , pub s_raid_stripe_width : __u32 , pub s_log_groups_per_flex : __u8 , pub s_checksum_type : __u8 , pub s_encryption_level : __u8 , pub s_reserved_pad : __u8 , pub s_kbytes_written : __u64 , pub s_snapshot_inum : __u32 , pub s_snapshot_id : __u32 , pub s_snapshot_r_blocks_count : __u64 , pub s_snapshot_list : __u32 , pub s_error_count : __u32 , pub s_first_error_time : __u32 , pub s_first_error_ino : __u32 , pub s_first_error_block : __u64 , pub s_first_error_func : [__u8 ; 32usize] , pub s_first_error_line : __u32 , pub s_last_error_time : __u32 , pub s_last_error_ino : __u32 , pub s_last_error_line : __u32 , pub s_last_error_block : __u64 , pub s_last_error_func : [__u8 ; 32usize] , pub s_mount_opts : [__u8 ; 64usize] , pub s_usr_quota_inum : __u32 , pub s_grp_quota_inum : __u32 , pub s_overhead_clusters : __u32 , pub s_backup_bgs : [__u32 ; 2usize] , pub s_encrypt_algos : [__u8 ; 4usize] , pub s_encrypt_pw_salt : [__u8 ; 16usize] , pub s_lpf_ino : __le32 , pub s_prj_quota_inum : __le32 , pub s_checksum_seed : __le32 , pub s_wtime_hi : __u8 , pub s_mtime_hi : __u8 , pub s_mkfs_time_hi : __u8 , pub s_lastcheck_hi : __u8 , pub s_first_error_time_hi : __u8 , pub s_last_error_time_hi : __u8 , pub s_first_error_errcode : __u8 , pub s_last_error_errcode : __u8 , pub s_encoding : __le16 , pub s_encoding_flags : __le16 , pub s_orphan_file_inum : __le32 , pub s_reserved : [__le32 ; 94usize] , pub s_checksum : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_super_block"] [:: std :: mem :: size_of :: < ext2_super_block > () - 1024usize] ; ["Alignment of ext2_super_block"] [:: std :: mem :: align_of :: < ext2_super_block > () - 8usize] ; ["Offset of field: ext2_super_block::s_inodes_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_inodes_count) - 0usize] ; ["Offset of field: ext2_super_block::s_blocks_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_blocks_count) - 4usize] ; ["Offset of field: ext2_super_block::s_r_blocks_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_r_blocks_count) - 8usize] ; ["Offset of field: ext2_super_block::s_free_blocks_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_free_blocks_count) - 12usize] ; ["Offset of field: ext2_super_block::s_free_inodes_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_free_inodes_count) - 16usize] ; ["Offset of field: ext2_super_block::s_first_data_block"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_data_block) - 20usize] ; ["Offset of field: ext2_super_block::s_log_block_size"] [:: std :: mem :: offset_of ! (ext2_super_block , s_log_block_size) - 24usize] ; ["Offset of field: ext2_super_block::s_log_cluster_size"] [:: std :: mem :: offset_of ! (ext2_super_block , s_log_cluster_size) - 28usize] ; ["Offset of field: ext2_super_block::s_blocks_per_group"] [:: std :: mem :: offset_of ! (ext2_super_block , s_blocks_per_group) - 32usize] ; ["Offset of field: ext2_super_block::s_clusters_per_group"] [:: std :: mem :: offset_of ! (ext2_super_block , s_clusters_per_group) - 36usize] ; ["Offset of field: ext2_super_block::s_inodes_per_group"] [:: std :: mem :: offset_of ! (ext2_super_block , s_inodes_per_group) - 40usize] ; ["Offset of field: ext2_super_block::s_mtime"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mtime) - 44usize] ; ["Offset of field: ext2_super_block::s_wtime"] [:: std :: mem :: offset_of ! (ext2_super_block , s_wtime) - 48usize] ; ["Offset of field: ext2_super_block::s_mnt_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mnt_count) - 52usize] ; ["Offset of field: ext2_super_block::s_max_mnt_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_max_mnt_count) - 54usize] ; ["Offset of field: ext2_super_block::s_magic"] [:: std :: mem :: offset_of ! (ext2_super_block , s_magic) - 56usize] ; ["Offset of field: ext2_super_block::s_state"] [:: std :: mem :: offset_of ! (ext2_super_block , s_state) - 58usize] ; ["Offset of field: ext2_super_block::s_errors"] [:: std :: mem :: offset_of ! (ext2_super_block , s_errors) - 60usize] ; ["Offset of field: ext2_super_block::s_minor_rev_level"] [:: std :: mem :: offset_of ! (ext2_super_block , s_minor_rev_level) - 62usize] ; ["Offset of field: ext2_super_block::s_lastcheck"] [:: std :: mem :: offset_of ! (ext2_super_block , s_lastcheck) - 64usize] ; ["Offset of field: ext2_super_block::s_checkinterval"] [:: std :: mem :: offset_of ! (ext2_super_block , s_checkinterval) - 68usize] ; ["Offset of field: ext2_super_block::s_creator_os"] [:: std :: mem :: offset_of ! (ext2_super_block , s_creator_os) - 72usize] ; ["Offset of field: ext2_super_block::s_rev_level"] [:: std :: mem :: offset_of ! (ext2_super_block , s_rev_level) - 76usize] ; ["Offset of field: ext2_super_block::s_def_resuid"] [:: std :: mem :: offset_of ! (ext2_super_block , s_def_resuid) - 80usize] ; ["Offset of field: ext2_super_block::s_def_resgid"] [:: std :: mem :: offset_of ! (ext2_super_block , s_def_resgid) - 82usize] ; ["Offset of field: ext2_super_block::s_first_ino"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_ino) - 84usize] ; ["Offset of field: ext2_super_block::s_inode_size"] [:: std :: mem :: offset_of ! (ext2_super_block , s_inode_size) - 88usize] ; ["Offset of field: ext2_super_block::s_block_group_nr"] [:: std :: mem :: offset_of ! (ext2_super_block , s_block_group_nr) - 90usize] ; ["Offset of field: ext2_super_block::s_feature_compat"] [:: std :: mem :: offset_of ! (ext2_super_block , s_feature_compat) - 92usize] ; ["Offset of field: ext2_super_block::s_feature_incompat"] [:: std :: mem :: offset_of ! (ext2_super_block , s_feature_incompat) - 96usize] ; ["Offset of field: ext2_super_block::s_feature_ro_compat"] [:: std :: mem :: offset_of ! (ext2_super_block , s_feature_ro_compat) - 100usize] ; ["Offset of field: ext2_super_block::s_uuid"] [:: std :: mem :: offset_of ! (ext2_super_block , s_uuid) - 104usize] ; ["Offset of field: ext2_super_block::s_volume_name"] [:: std :: mem :: offset_of ! (ext2_super_block , s_volume_name) - 120usize] ; ["Offset of field: ext2_super_block::s_last_mounted"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_mounted) - 136usize] ; ["Offset of field: ext2_super_block::s_algorithm_usage_bitmap"] [:: std :: mem :: offset_of ! (ext2_super_block , s_algorithm_usage_bitmap) - 200usize] ; ["Offset of field: ext2_super_block::s_prealloc_blocks"] [:: std :: mem :: offset_of ! (ext2_super_block , s_prealloc_blocks) - 204usize] ; ["Offset of field: ext2_super_block::s_prealloc_dir_blocks"] [:: std :: mem :: offset_of ! (ext2_super_block , s_prealloc_dir_blocks) - 205usize] ; ["Offset of field: ext2_super_block::s_reserved_gdt_blocks"] [:: std :: mem :: offset_of ! (ext2_super_block , s_reserved_gdt_blocks) - 206usize] ; ["Offset of field: ext2_super_block::s_journal_uuid"] [:: std :: mem :: offset_of ! (ext2_super_block , s_journal_uuid) - 208usize] ; ["Offset of field: ext2_super_block::s_journal_inum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_journal_inum) - 224usize] ; ["Offset of field: ext2_super_block::s_journal_dev"] [:: std :: mem :: offset_of ! (ext2_super_block , s_journal_dev) - 228usize] ; ["Offset of field: ext2_super_block::s_last_orphan"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_orphan) - 232usize] ; ["Offset of field: ext2_super_block::s_hash_seed"] [:: std :: mem :: offset_of ! (ext2_super_block , s_hash_seed) - 236usize] ; ["Offset of field: ext2_super_block::s_def_hash_version"] [:: std :: mem :: offset_of ! (ext2_super_block , s_def_hash_version) - 252usize] ; ["Offset of field: ext2_super_block::s_jnl_backup_type"] [:: std :: mem :: offset_of ! (ext2_super_block , s_jnl_backup_type) - 253usize] ; ["Offset of field: ext2_super_block::s_desc_size"] [:: std :: mem :: offset_of ! (ext2_super_block , s_desc_size) - 254usize] ; ["Offset of field: ext2_super_block::s_default_mount_opts"] [:: std :: mem :: offset_of ! (ext2_super_block , s_default_mount_opts) - 256usize] ; ["Offset of field: ext2_super_block::s_first_meta_bg"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_meta_bg) - 260usize] ; ["Offset of field: ext2_super_block::s_mkfs_time"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mkfs_time) - 264usize] ; ["Offset of field: ext2_super_block::s_jnl_blocks"] [:: std :: mem :: offset_of ! (ext2_super_block , s_jnl_blocks) - 268usize] ; ["Offset of field: ext2_super_block::s_blocks_count_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_blocks_count_hi) - 336usize] ; ["Offset of field: ext2_super_block::s_r_blocks_count_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_r_blocks_count_hi) - 340usize] ; ["Offset of field: ext2_super_block::s_free_blocks_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_free_blocks_hi) - 344usize] ; ["Offset of field: ext2_super_block::s_min_extra_isize"] [:: std :: mem :: offset_of ! (ext2_super_block , s_min_extra_isize) - 348usize] ; ["Offset of field: ext2_super_block::s_want_extra_isize"] [:: std :: mem :: offset_of ! (ext2_super_block , s_want_extra_isize) - 350usize] ; ["Offset of field: ext2_super_block::s_flags"] [:: std :: mem :: offset_of ! (ext2_super_block , s_flags) - 352usize] ; ["Offset of field: ext2_super_block::s_raid_stride"] [:: std :: mem :: offset_of ! (ext2_super_block , s_raid_stride) - 356usize] ; ["Offset of field: ext2_super_block::s_mmp_update_interval"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mmp_update_interval) - 358usize] ; ["Offset of field: ext2_super_block::s_mmp_block"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mmp_block) - 360usize] ; ["Offset of field: ext2_super_block::s_raid_stripe_width"] [:: std :: mem :: offset_of ! (ext2_super_block , s_raid_stripe_width) - 368usize] ; ["Offset of field: ext2_super_block::s_log_groups_per_flex"] [:: std :: mem :: offset_of ! (ext2_super_block , s_log_groups_per_flex) - 372usize] ; ["Offset of field: ext2_super_block::s_checksum_type"] [:: std :: mem :: offset_of ! (ext2_super_block , s_checksum_type) - 373usize] ; ["Offset of field: ext2_super_block::s_encryption_level"] [:: std :: mem :: offset_of ! (ext2_super_block , s_encryption_level) - 374usize] ; ["Offset of field: ext2_super_block::s_reserved_pad"] [:: std :: mem :: offset_of ! (ext2_super_block , s_reserved_pad) - 375usize] ; ["Offset of field: ext2_super_block::s_kbytes_written"] [:: std :: mem :: offset_of ! (ext2_super_block , s_kbytes_written) - 376usize] ; ["Offset of field: ext2_super_block::s_snapshot_inum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_snapshot_inum) - 384usize] ; ["Offset of field: ext2_super_block::s_snapshot_id"] [:: std :: mem :: offset_of ! (ext2_super_block , s_snapshot_id) - 388usize] ; ["Offset of field: ext2_super_block::s_snapshot_r_blocks_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_snapshot_r_blocks_count) - 392usize] ; ["Offset of field: ext2_super_block::s_snapshot_list"] [:: std :: mem :: offset_of ! (ext2_super_block , s_snapshot_list) - 400usize] ; ["Offset of field: ext2_super_block::s_error_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_error_count) - 404usize] ; ["Offset of field: ext2_super_block::s_first_error_time"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_time) - 408usize] ; ["Offset of field: ext2_super_block::s_first_error_ino"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_ino) - 412usize] ; ["Offset of field: ext2_super_block::s_first_error_block"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_block) - 416usize] ; ["Offset of field: ext2_super_block::s_first_error_func"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_func) - 424usize] ; ["Offset of field: ext2_super_block::s_first_error_line"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_line) - 456usize] ; ["Offset of field: ext2_super_block::s_last_error_time"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_time) - 460usize] ; ["Offset of field: ext2_super_block::s_last_error_ino"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_ino) - 464usize] ; ["Offset of field: ext2_super_block::s_last_error_line"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_line) - 468usize] ; ["Offset of field: ext2_super_block::s_last_error_block"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_block) - 472usize] ; ["Offset of field: ext2_super_block::s_last_error_func"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_func) - 480usize] ; ["Offset of field: ext2_super_block::s_mount_opts"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mount_opts) - 512usize] ; ["Offset of field: ext2_super_block::s_usr_quota_inum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_usr_quota_inum) - 576usize] ; ["Offset of field: ext2_super_block::s_grp_quota_inum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_grp_quota_inum) - 580usize] ; ["Offset of field: ext2_super_block::s_overhead_clusters"] [:: std :: mem :: offset_of ! (ext2_super_block , s_overhead_clusters) - 584usize] ; ["Offset of field: ext2_super_block::s_backup_bgs"] [:: std :: mem :: offset_of ! (ext2_super_block , s_backup_bgs) - 588usize] ; ["Offset of field: ext2_super_block::s_encrypt_algos"] [:: std :: mem :: offset_of ! (ext2_super_block , s_encrypt_algos) - 596usize] ; ["Offset of field: ext2_super_block::s_encrypt_pw_salt"] [:: std :: mem :: offset_of ! (ext2_super_block , s_encrypt_pw_salt) - 600usize] ; ["Offset of field: ext2_super_block::s_lpf_ino"] [:: std :: mem :: offset_of ! (ext2_super_block , s_lpf_ino) - 616usize] ; ["Offset of field: ext2_super_block::s_prj_quota_inum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_prj_quota_inum) - 620usize] ; ["Offset of field: ext2_super_block::s_checksum_seed"] [:: std :: mem :: offset_of ! (ext2_super_block , s_checksum_seed) - 624usize] ; ["Offset of field: ext2_super_block::s_wtime_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_wtime_hi) - 628usize] ; ["Offset of field: ext2_super_block::s_mtime_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mtime_hi) - 629usize] ; ["Offset of field: ext2_super_block::s_mkfs_time_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mkfs_time_hi) - 630usize] ; ["Offset of field: ext2_super_block::s_lastcheck_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_lastcheck_hi) - 631usize] ; ["Offset of field: ext2_super_block::s_first_error_time_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_time_hi) - 632usize] ; ["Offset of field: ext2_super_block::s_last_error_time_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_time_hi) - 633usize] ; ["Offset of field: ext2_super_block::s_first_error_errcode"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_errcode) - 634usize] ; ["Offset of field: ext2_super_block::s_last_error_errcode"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_errcode) - 635usize] ; ["Offset of field: ext2_super_block::s_encoding"] [:: std :: mem :: offset_of ! (ext2_super_block , s_encoding) - 636usize] ; ["Offset of field: ext2_super_block::s_encoding_flags"] [:: std :: mem :: offset_of ! (ext2_super_block , s_encoding_flags) - 638usize] ; ["Offset of field: ext2_super_block::s_orphan_file_inum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_orphan_file_inum) - 640usize] ; ["Offset of field: ext2_super_block::s_reserved"] [:: std :: mem :: offset_of ! (ext2_super_block , s_reserved) - 644usize] ; ["Offset of field: ext2_super_block::s_checksum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_checksum) - 1020usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dir_entry { pub inode : __u32 , pub rec_len : __u16 , pub name_len : __u16 , pub name : [:: std :: os :: raw :: c_char ; 255usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dir_entry"] [:: std :: mem :: size_of :: < ext2_dir_entry > () - 264usize] ; ["Alignment of ext2_dir_entry"] [:: std :: mem :: align_of :: < ext2_dir_entry > () - 4usize] ; ["Offset of field: ext2_dir_entry::inode"] [:: std :: mem :: offset_of ! (ext2_dir_entry , inode) - 0usize] ; ["Offset of field: ext2_dir_entry::rec_len"] [:: std :: mem :: offset_of ! (ext2_dir_entry , rec_len) - 4usize] ; ["Offset of field: ext2_dir_entry::name_len"] [:: std :: mem :: offset_of ! (ext2_dir_entry , name_len) - 6usize] ; ["Offset of field: ext2_dir_entry::name"] [:: std :: mem :: offset_of ! (ext2_dir_entry , name) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dir_entry_2 { pub inode : __u32 , pub rec_len : __u16 , pub name_len : __u8 , pub file_type : __u8 , pub name : [:: std :: os :: raw :: c_char ; 255usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dir_entry_2"] [:: std :: mem :: size_of :: < ext2_dir_entry_2 > () - 264usize] ; ["Alignment of ext2_dir_entry_2"] [:: std :: mem :: align_of :: < ext2_dir_entry_2 > () - 4usize] ; ["Offset of field: ext2_dir_entry_2::inode"] [:: std :: mem :: offset_of ! (ext2_dir_entry_2 , inode) - 0usize] ; ["Offset of field: ext2_dir_entry_2::rec_len"] [:: std :: mem :: offset_of ! (ext2_dir_entry_2 , rec_len) - 4usize] ; ["Offset of field: ext2_dir_entry_2::name_len"] [:: std :: mem :: offset_of ! (ext2_dir_entry_2 , name_len) - 6usize] ; ["Offset of field: ext2_dir_entry_2::file_type"] [:: std :: mem :: offset_of ! (ext2_dir_entry_2 , file_type) - 7usize] ; ["Offset of field: ext2_dir_entry_2::name"] [:: std :: mem :: offset_of ! (ext2_dir_entry_2 , name) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dir_entry_hash { pub hash : __le32 , pub minor_hash : __le32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dir_entry_hash"] [:: std :: mem :: size_of :: < ext2_dir_entry_hash > () - 8usize] ; ["Alignment of ext2_dir_entry_hash"] [:: std :: mem :: align_of :: < ext2_dir_entry_hash > () - 4usize] ; ["Offset of field: ext2_dir_entry_hash::hash"] [:: std :: mem :: offset_of ! (ext2_dir_entry_hash , hash) - 0usize] ; ["Offset of field: ext2_dir_entry_hash::minor_hash"] [:: std :: mem :: offset_of ! (ext2_dir_entry_hash , minor_hash) - 4usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dir_entry_tail { pub det_reserved_zero1 : __u32 , pub det_rec_len : __u16 , pub det_reserved_name_len : __u16 , pub det_checksum : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dir_entry_tail"] [:: std :: mem :: size_of :: < ext2_dir_entry_tail > () - 12usize] ; ["Alignment of ext2_dir_entry_tail"] [:: std :: mem :: align_of :: < ext2_dir_entry_tail > () - 4usize] ; ["Offset of field: ext2_dir_entry_tail::det_reserved_zero1"] [:: std :: mem :: offset_of ! (ext2_dir_entry_tail , det_reserved_zero1) - 0usize] ; ["Offset of field: ext2_dir_entry_tail::det_rec_len"] [:: std :: mem :: offset_of ! (ext2_dir_entry_tail , det_rec_len) - 4usize] ; ["Offset of field: ext2_dir_entry_tail::det_reserved_name_len"] [:: std :: mem :: offset_of ! (ext2_dir_entry_tail , det_reserved_name_len) - 6usize] ; ["Offset of field: ext2_dir_entry_tail::det_checksum"] [:: std :: mem :: offset_of ! (ext2_dir_entry_tail , det_checksum) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext4_orphan_block_tail { pub ob_magic : __u32 , pub ob_checksum : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext4_orphan_block_tail"] [:: std :: mem :: size_of :: < ext4_orphan_block_tail > () - 8usize] ; ["Alignment of ext4_orphan_block_tail"] [:: std :: mem :: align_of :: < ext4_orphan_block_tail > () - 4usize] ; ["Offset of field: ext4_orphan_block_tail::ob_magic"] [:: std :: mem :: offset_of ! (ext4_orphan_block_tail , ob_magic) - 0usize] ; ["Offset of field: ext4_orphan_block_tail::ob_checksum"] [:: std :: mem :: offset_of ! (ext4_orphan_block_tail , ob_checksum) - 4usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mmp_struct { pub mmp_magic : __u32 , pub mmp_seq : __u32 , pub mmp_time : __u64 , pub mmp_nodename : [__u8 ; 64usize] , pub mmp_bdevname : [__u8 ; 32usize] , pub mmp_check_interval : __u16 , pub mmp_pad1 : __u16 , pub mmp_pad2 : [__u32 ; 226usize] , pub mmp_checksum : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mmp_struct"] [:: std :: mem :: size_of :: < mmp_struct > () - 1024usize] ; ["Alignment of mmp_struct"] [:: std :: mem :: align_of :: < mmp_struct > () - 8usize] ; ["Offset of field: mmp_struct::mmp_magic"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_magic) - 0usize] ; ["Offset of field: mmp_struct::mmp_seq"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_seq) - 4usize] ; ["Offset of field: mmp_struct::mmp_time"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_time) - 8usize] ; ["Offset of field: mmp_struct::mmp_nodename"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_nodename) - 16usize] ; ["Offset of field: mmp_struct::mmp_bdevname"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_bdevname) - 80usize] ; ["Offset of field: mmp_struct::mmp_check_interval"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_check_interval) - 112usize] ; ["Offset of field: mmp_struct::mmp_pad1"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_pad1) - 114usize] ; ["Offset of field: mmp_struct::mmp_pad2"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_pad2) - 116usize] ; ["Offset of field: mmp_struct::mmp_checksum"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_checksum) - 1020usize] ; } ; unsafe extern "C" { pub fn e2p_list_journal_super (f : * mut FILE , journal_sb_buf : * mut :: std :: os :: raw :: c_char , exp_block_size : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn e2p_feature_to_string (compat : :: std :: os :: raw :: c_int , mask : :: std :: os :: raw :: c_uint , buf : * mut :: std :: os :: raw :: c_char , buf_len : usize) ; } unsafe extern "C" { pub fn e2p_feature2string (compat : :: std :: os :: raw :: c_int , mask : :: std :: os :: raw :: c_uint) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_jrnl_feature2string (compat : :: std :: os :: raw :: c_int , mask : :: std :: os :: raw :: c_uint) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_string2feature (string : * mut :: std :: os :: raw :: c_char , compat : * mut :: std :: os :: raw :: c_int , mask : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_jrnl_string2feature (string : * mut :: std :: os :: raw :: c_char , compat_type : * mut :: std :: os :: raw :: c_int , mask : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_edit_feature (str_ : * const :: std :: os :: raw :: c_char , compat_array : * mut __u32 , ok_array : * mut __u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_edit_feature2 (str_ : * const :: std :: os :: raw :: c_char , compat_array : * mut __u32 , ok_array : * mut __u32 , clear_ok_array : * mut __u32 , type_err : * mut :: std :: os :: raw :: c_int , mask_err : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_is_null_uuid (uu : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_uuid_to_str (uu : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn e2p_uuid2str (uu : * mut :: std :: os :: raw :: c_void) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_hash2string (num : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_string2hash (string : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_mntopt2string (mask : :: std :: os :: raw :: c_uint) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_string2mntopt (string : * mut :: std :: os :: raw :: c_char , mask : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_edit_mntopts (str_ : * const :: std :: os :: raw :: c_char , mntopts : * mut __u32 , ok : __u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_os2string (os_type : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_string2os (str_ : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_percent (percent : :: std :: os :: raw :: c_int , base : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_uint ; } unsafe extern "C" { pub fn e2p_encmode2string (num : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_string2encmode (string : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_str2encoding (string : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_encoding2str (encoding : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_get_encoding_flags (encoding : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_str2encoding_flags (encoding : :: std :: os :: raw :: c_int , param : * mut :: std :: os :: raw :: c_char , flags : * mut __u16) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_errcode2str (err : :: std :: os :: raw :: c_uint) -> * const :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext3_extent_header { pub eh_magic : __le16 , pub eh_entries : __le16 , pub eh_max : __le16 , pub eh_depth : __le16 , pub eh_generation : __le32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext3_extent_header"] [:: std :: mem :: size_of :: < ext3_extent_header > () - 12usize] ; ["Alignment of ext3_extent_header"] [:: std :: mem :: align_of :: < ext3_extent_header > () - 4usize] ; ["Offset of field: ext3_extent_header::eh_magic"] [:: std :: mem :: offset_of ! (ext3_extent_header , eh_magic) - 0usize] ; ["Offset of field: ext3_extent_header::eh_entries"] [:: std :: mem :: offset_of ! (ext3_extent_header , eh_entries) - 2usize] ; ["Offset of field: ext3_extent_header::eh_max"] [:: std :: mem :: offset_of ! (ext3_extent_header , eh_max) - 4usize] ; ["Offset of field: ext3_extent_header::eh_depth"] [:: std :: mem :: offset_of ! (ext3_extent_header , eh_depth) - 6usize] ; ["Offset of field: ext3_extent_header::eh_generation"] [:: std :: mem :: offset_of ! (ext3_extent_header , eh_generation) - 8usize] ; } ; pub type ext2_ino_t = __u32 ; pub type blk_t = __u32 ; pub type blk64_t = __u64 ; pub type dgrp_t = __u32 ; pub type ext2_off_t = __s32 ; pub type ext2_off64_t = __s64 ; pub type e2_blkcnt_t = __s64 ; pub type ext2_dirhash_t = __u32 ; pub type ext2_loff_t = :: std :: os :: raw :: c_longlong ; unsafe extern "C" { pub fn ext2fs_llseek (arg1 : :: std :: os :: raw :: c_int , arg2 : ext2_loff_t , arg3 : :: std :: os :: raw :: c_int) -> ext2_loff_t ; } pub type io_manager = * mut struct_io_manager ; pub type io_channel = * mut struct_io_channel ; pub type io_stats = * mut struct_io_stats ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct struct_io_channel { pub magic : errcode_t , pub manager : io_manager , pub name : * mut :: std :: os :: raw :: c_char , pub block_size : :: std :: os :: raw :: c_int , pub read_error : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulong , count : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , size : usize , actual_bytes_read : :: std :: os :: raw :: c_int , error : errcode_t) -> errcode_t > , pub write_error : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulong , count : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , size : usize , actual_bytes_written : :: std :: os :: raw :: c_int , error : errcode_t) -> errcode_t > , pub refcount : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub reserved : [:: std :: os :: raw :: c_long ; 14usize] , pub private_data : * mut :: std :: os :: raw :: c_void , pub app_data : * mut :: std :: os :: raw :: c_void , pub align : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of struct_io_channel"] [:: std :: mem :: size_of :: < struct_io_channel > () - 192usize] ; ["Alignment of struct_io_channel"] [:: std :: mem :: align_of :: < struct_io_channel > () - 8usize] ; ["Offset of field: struct_io_channel::magic"] [:: std :: mem :: offset_of ! (struct_io_channel , magic) - 0usize] ; ["Offset of field: struct_io_channel::manager"] [:: std :: mem :: offset_of ! (struct_io_channel , manager) - 8usize] ; ["Offset of field: struct_io_channel::name"] [:: std :: mem :: offset_of ! (struct_io_channel , name) - 16usize] ; ["Offset of field: struct_io_channel::block_size"] [:: std :: mem :: offset_of ! (struct_io_channel , block_size) - 24usize] ; ["Offset of field: struct_io_channel::read_error"] [:: std :: mem :: offset_of ! (struct_io_channel , read_error) - 32usize] ; ["Offset of field: struct_io_channel::write_error"] [:: std :: mem :: offset_of ! (struct_io_channel , write_error) - 40usize] ; ["Offset of field: struct_io_channel::refcount"] [:: std :: mem :: offset_of ! (struct_io_channel , refcount) - 48usize] ; ["Offset of field: struct_io_channel::flags"] [:: std :: mem :: offset_of ! (struct_io_channel , flags) - 52usize] ; ["Offset of field: struct_io_channel::reserved"] [:: std :: mem :: offset_of ! (struct_io_channel , reserved) - 56usize] ; ["Offset of field: struct_io_channel::private_data"] [:: std :: mem :: offset_of ! (struct_io_channel , private_data) - 168usize] ; ["Offset of field: struct_io_channel::app_data"] [:: std :: mem :: offset_of ! (struct_io_channel , app_data) - 176usize] ; ["Offset of field: struct_io_channel::align"] [:: std :: mem :: offset_of ! (struct_io_channel , align) - 184usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct struct_io_stats { pub num_fields : :: std :: os :: raw :: c_int , pub reserved : :: std :: os :: raw :: c_int , pub bytes_read : :: std :: os :: raw :: c_ulonglong , pub bytes_written : :: std :: os :: raw :: c_ulonglong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of struct_io_stats"] [:: std :: mem :: size_of :: < struct_io_stats > () - 24usize] ; ["Alignment of struct_io_stats"] [:: std :: mem :: align_of :: < struct_io_stats > () - 8usize] ; ["Offset of field: struct_io_stats::num_fields"] [:: std :: mem :: offset_of ! (struct_io_stats , num_fields) - 0usize] ; ["Offset of field: struct_io_stats::reserved"] [:: std :: mem :: offset_of ! (struct_io_stats , reserved) - 4usize] ; ["Offset of field: struct_io_stats::bytes_read"] [:: std :: mem :: offset_of ! (struct_io_stats , bytes_read) - 8usize] ; ["Offset of field: struct_io_stats::bytes_written"] [:: std :: mem :: offset_of ! (struct_io_stats , bytes_written) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct struct_io_manager { pub magic : errcode_t , pub name : * const :: std :: os :: raw :: c_char , pub open : :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , channel : * mut io_channel) -> errcode_t > , pub close : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel) -> errcode_t > , pub set_blksize : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , blksize : :: std :: os :: raw :: c_int) -> errcode_t > , pub read_blk : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulong , count : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> errcode_t > , pub write_blk : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulong , count : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) -> errcode_t > , pub flush : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel) -> errcode_t > , pub write_byte : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , offset : :: std :: os :: raw :: c_ulong , count : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) -> errcode_t > , pub set_option : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , option : * const :: std :: os :: raw :: c_char , arg : * const :: std :: os :: raw :: c_char) -> errcode_t > , pub get_stats : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , io_stats : * mut io_stats) -> errcode_t > , pub read_blk64 : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulonglong , count : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> errcode_t > , pub write_blk64 : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulonglong , count : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) -> errcode_t > , pub discard : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulonglong , count : :: std :: os :: raw :: c_ulonglong) -> errcode_t > , pub cache_readahead : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulonglong , count : :: std :: os :: raw :: c_ulonglong) -> errcode_t > , pub zeroout : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulonglong , count : :: std :: os :: raw :: c_ulonglong) -> errcode_t > , pub reserved : [:: std :: os :: raw :: c_long ; 14usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of struct_io_manager"] [:: std :: mem :: size_of :: < struct_io_manager > () - 240usize] ; ["Alignment of struct_io_manager"] [:: std :: mem :: align_of :: < struct_io_manager > () - 8usize] ; ["Offset of field: struct_io_manager::magic"] [:: std :: mem :: offset_of ! (struct_io_manager , magic) - 0usize] ; ["Offset of field: struct_io_manager::name"] [:: std :: mem :: offset_of ! (struct_io_manager , name) - 8usize] ; ["Offset of field: struct_io_manager::open"] [:: std :: mem :: offset_of ! (struct_io_manager , open) - 16usize] ; ["Offset of field: struct_io_manager::close"] [:: std :: mem :: offset_of ! (struct_io_manager , close) - 24usize] ; ["Offset of field: struct_io_manager::set_blksize"] [:: std :: mem :: offset_of ! (struct_io_manager , set_blksize) - 32usize] ; ["Offset of field: struct_io_manager::read_blk"] [:: std :: mem :: offset_of ! (struct_io_manager , read_blk) - 40usize] ; ["Offset of field: struct_io_manager::write_blk"] [:: std :: mem :: offset_of ! (struct_io_manager , write_blk) - 48usize] ; ["Offset of field: struct_io_manager::flush"] [:: std :: mem :: offset_of ! (struct_io_manager , flush) - 56usize] ; ["Offset of field: struct_io_manager::write_byte"] [:: std :: mem :: offset_of ! (struct_io_manager , write_byte) - 64usize] ; ["Offset of field: struct_io_manager::set_option"] [:: std :: mem :: offset_of ! (struct_io_manager , set_option) - 72usize] ; ["Offset of field: struct_io_manager::get_stats"] [:: std :: mem :: offset_of ! (struct_io_manager , get_stats) - 80usize] ; ["Offset of field: struct_io_manager::read_blk64"] [:: std :: mem :: offset_of ! (struct_io_manager , read_blk64) - 88usize] ; ["Offset of field: struct_io_manager::write_blk64"] [:: std :: mem :: offset_of ! (struct_io_manager , write_blk64) - 96usize] ; ["Offset of field: struct_io_manager::discard"] [:: std :: mem :: offset_of ! (struct_io_manager , discard) - 104usize] ; ["Offset of field: struct_io_manager::cache_readahead"] [:: std :: mem :: offset_of ! (struct_io_manager , cache_readahead) - 112usize] ; ["Offset of field: struct_io_manager::zeroout"] [:: std :: mem :: offset_of ! (struct_io_manager , zeroout) - 120usize] ; ["Offset of field: struct_io_manager::reserved"] [:: std :: mem :: offset_of ! (struct_io_manager , reserved) - 128usize] ; } ; unsafe extern "C" { pub static mut unix_io_manager : io_manager ; } unsafe extern "C" { pub static mut unixfd_io_manager : io_manager ; } unsafe extern "C" { pub static mut sparse_io_manager : io_manager ; } unsafe extern "C" { pub static mut sparsefd_io_manager : io_manager ; } unsafe extern "C" { pub static mut undo_io_manager : io_manager ; } unsafe extern "C" { pub static mut test_io_manager : io_manager ; } unsafe extern "C" { pub static et_ext2_error_table : error_table ; } unsafe extern "C" { pub fn initialize_ext2_error_table () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_ext_attr_header { pub h_magic : __u32 , pub h_refcount : __u32 , pub h_blocks : __u32 , pub h_hash : __u32 , pub h_checksum : __u32 , pub h_reserved : [__u32 ; 3usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_ext_attr_header"] [:: std :: mem :: size_of :: < ext2_ext_attr_header > () - 32usize] ; ["Alignment of ext2_ext_attr_header"] [:: std :: mem :: align_of :: < ext2_ext_attr_header > () - 4usize] ; ["Offset of field: ext2_ext_attr_header::h_magic"] [:: std :: mem :: offset_of ! (ext2_ext_attr_header , h_magic) - 0usize] ; ["Offset of field: ext2_ext_attr_header::h_refcount"] [:: std :: mem :: offset_of ! (ext2_ext_attr_header , h_refcount) - 4usize] ; ["Offset of field: ext2_ext_attr_header::h_blocks"] [:: std :: mem :: offset_of ! (ext2_ext_attr_header , h_blocks) - 8usize] ; ["Offset of field: ext2_ext_attr_header::h_hash"] [:: std :: mem :: offset_of ! (ext2_ext_attr_header , h_hash) - 12usize] ; ["Offset of field: ext2_ext_attr_header::h_checksum"] [:: std :: mem :: offset_of ! (ext2_ext_attr_header , h_checksum) - 16usize] ; ["Offset of field: ext2_ext_attr_header::h_reserved"] [:: std :: mem :: offset_of ! (ext2_ext_attr_header , h_reserved) - 20usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_ext_attr_entry { pub e_name_len : __u8 , pub e_name_index : __u8 , pub e_value_offs : __u16 , pub e_value_inum : __u32 , pub e_value_size : __u32 , pub e_hash : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_ext_attr_entry"] [:: std :: mem :: size_of :: < ext2_ext_attr_entry > () - 16usize] ; ["Alignment of ext2_ext_attr_entry"] [:: std :: mem :: align_of :: < ext2_ext_attr_entry > () - 4usize] ; ["Offset of field: ext2_ext_attr_entry::e_name_len"] [:: std :: mem :: offset_of ! (ext2_ext_attr_entry , e_name_len) - 0usize] ; ["Offset of field: ext2_ext_attr_entry::e_name_index"] [:: std :: mem :: offset_of ! (ext2_ext_attr_entry , e_name_index) - 1usize] ; ["Offset of field: ext2_ext_attr_entry::e_value_offs"] [:: std :: mem :: offset_of ! (ext2_ext_attr_entry , e_value_offs) - 2usize] ; ["Offset of field: ext2_ext_attr_entry::e_value_inum"] [:: std :: mem :: offset_of ! (ext2_ext_attr_entry , e_value_inum) - 4usize] ; ["Offset of field: ext2_ext_attr_entry::e_value_size"] [:: std :: mem :: offset_of ! (ext2_ext_attr_entry , e_value_size) - 8usize] ; ["Offset of field: ext2_ext_attr_entry::e_hash"] [:: std :: mem :: offset_of ! (ext2_ext_attr_entry , e_hash) - 12usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_hashmap { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_hashmap_entry { pub data : * mut :: std :: os :: raw :: c_void , pub key : * const :: std :: os :: raw :: c_void , pub key_len : usize , pub next : * mut ext2fs_hashmap_entry , pub list_next : * mut ext2fs_hashmap_entry , pub list_prev : * mut ext2fs_hashmap_entry , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2fs_hashmap_entry"] [:: std :: mem :: size_of :: < ext2fs_hashmap_entry > () - 48usize] ; ["Alignment of ext2fs_hashmap_entry"] [:: std :: mem :: align_of :: < ext2fs_hashmap_entry > () - 8usize] ; ["Offset of field: ext2fs_hashmap_entry::data"] [:: std :: mem :: offset_of ! (ext2fs_hashmap_entry , data) - 0usize] ; ["Offset of field: ext2fs_hashmap_entry::key"] [:: std :: mem :: offset_of ! (ext2fs_hashmap_entry , key) - 8usize] ; ["Offset of field: ext2fs_hashmap_entry::key_len"] [:: std :: mem :: offset_of ! (ext2fs_hashmap_entry , key_len) - 16usize] ; ["Offset of field: ext2fs_hashmap_entry::next"] [:: std :: mem :: offset_of ! (ext2fs_hashmap_entry , next) - 24usize] ; ["Offset of field: ext2fs_hashmap_entry::list_next"] [:: std :: mem :: offset_of ! (ext2fs_hashmap_entry , list_next) - 32usize] ; ["Offset of field: ext2fs_hashmap_entry::list_prev"] [:: std :: mem :: offset_of ! (ext2fs_hashmap_entry , list_prev) - 40usize] ; } ; unsafe extern "C" { pub fn ext2fs_hashmap_create (hash_fct : :: std :: option :: Option < unsafe extern "C" fn (arg1 : * const :: std :: os :: raw :: c_void , arg2 : usize) -> u32 > , free_fct : :: std :: option :: Option < unsafe extern "C" fn (arg1 : * mut :: std :: os :: raw :: c_void) > , size : usize) -> * mut ext2fs_hashmap ; } unsafe extern "C" { pub fn ext2fs_hashmap_add (h : * mut ext2fs_hashmap , data : * mut :: std :: os :: raw :: c_void , key : * const :: std :: os :: raw :: c_void , key_len : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_hashmap_lookup (h : * mut ext2fs_hashmap , key : * const :: std :: os :: raw :: c_void , key_len : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn ext2fs_hashmap_iter_in_order (h : * mut ext2fs_hashmap , it : * mut * mut ext2fs_hashmap_entry) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn ext2fs_hashmap_del (h : * mut ext2fs_hashmap , e : * mut ext2fs_hashmap_entry) ; } unsafe extern "C" { pub fn ext2fs_hashmap_free (h : * mut ext2fs_hashmap) ; } unsafe extern "C" { pub fn ext2fs_djb2_hash (str_ : * const :: std :: os :: raw :: c_void , size : usize) -> u32 ; } pub type ext2_filsys = * mut struct_ext2_filsys ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_struct_generic_bitmap_base { pub magic : errcode_t , pub fs : ext2_filsys , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2fs_struct_generic_bitmap_base"] [:: std :: mem :: size_of :: < ext2fs_struct_generic_bitmap_base > () - 16usize] ; ["Alignment of ext2fs_struct_generic_bitmap_base"] [:: std :: mem :: align_of :: < ext2fs_struct_generic_bitmap_base > () - 8usize] ; ["Offset of field: ext2fs_struct_generic_bitmap_base::magic"] [:: std :: mem :: offset_of ! (ext2fs_struct_generic_bitmap_base , magic) - 0usize] ; ["Offset of field: ext2fs_struct_generic_bitmap_base::fs"] [:: std :: mem :: offset_of ! (ext2fs_struct_generic_bitmap_base , fs) - 8usize] ; } ; pub type ext2fs_generic_bitmap = * mut ext2fs_struct_generic_bitmap_base ; pub type ext2fs_inode_bitmap = * mut ext2fs_struct_generic_bitmap_base ; pub type ext2fs_block_bitmap = * mut ext2fs_struct_generic_bitmap_base ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_struct_u32_list { _unused : [u8 ; 0] , } pub type ext2_badblocks_list = * mut ext2_struct_u32_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_struct_u32_iterate { _unused : [u8 ; 0] , } pub type ext2_badblocks_iterate = * mut ext2_struct_u32_iterate ; pub type ext2_u32_list = * mut ext2_struct_u32_list ; pub type ext2_u32_iterate = * mut ext2_struct_u32_iterate ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_db_entry2 { pub ino : ext2_ino_t , pub blk : blk64_t , pub blockcnt : e2_blkcnt_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_db_entry2"] [:: std :: mem :: size_of :: < ext2_db_entry2 > () - 24usize] ; ["Alignment of ext2_db_entry2"] [:: std :: mem :: align_of :: < ext2_db_entry2 > () - 8usize] ; ["Offset of field: ext2_db_entry2::ino"] [:: std :: mem :: offset_of ! (ext2_db_entry2 , ino) - 0usize] ; ["Offset of field: ext2_db_entry2::blk"] [:: std :: mem :: offset_of ! (ext2_db_entry2 , blk) - 8usize] ; ["Offset of field: ext2_db_entry2::blockcnt"] [:: std :: mem :: offset_of ! (ext2_db_entry2 , blockcnt) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_db_entry { pub ino : ext2_ino_t , pub blk : blk_t , pub blockcnt : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_db_entry"] [:: std :: mem :: size_of :: < ext2_db_entry > () - 12usize] ; ["Alignment of ext2_db_entry"] [:: std :: mem :: align_of :: < ext2_db_entry > () - 4usize] ; ["Offset of field: ext2_db_entry::ino"] [:: std :: mem :: offset_of ! (ext2_db_entry , ino) - 0usize] ; ["Offset of field: ext2_db_entry::blk"] [:: std :: mem :: offset_of ! (ext2_db_entry , blk) - 4usize] ; ["Offset of field: ext2_db_entry::blockcnt"] [:: std :: mem :: offset_of ! (ext2_db_entry , blockcnt) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_struct_dblist { _unused : [u8 ; 0] , } pub type ext2_dblist = * mut ext2_struct_dblist ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_file { _unused : [u8 ; 0] , } pub type ext2_file_t = * mut ext2_file ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct opaque_ext2_group_desc { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct struct_ext2_filsys { pub magic : errcode_t , pub io : io_channel , pub flags : :: std :: os :: raw :: c_int , pub device_name : * mut :: std :: os :: raw :: c_char , pub super_ : * mut ext2_super_block , pub blocksize : :: std :: os :: raw :: c_uint , pub fragsize : :: std :: os :: raw :: c_int , pub group_desc_count : dgrp_t , pub desc_blocks : :: std :: os :: raw :: c_ulong , pub group_desc : * mut opaque_ext2_group_desc , pub inode_blocks_per_group : :: std :: os :: raw :: c_uint , pub inode_map : ext2fs_inode_bitmap , pub block_map : ext2fs_block_bitmap , pub get_blocks : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , ino : ext2_ino_t , blocks : * mut blk_t) -> errcode_t > , pub check_directory : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , ino : ext2_ino_t) -> errcode_t > , pub write_bitmaps : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys) -> errcode_t > , pub read_inode : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode) -> errcode_t > , pub write_inode : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode) -> errcode_t > , pub badblocks : ext2_badblocks_list , pub dblist : ext2_dblist , pub stride : __u32 , pub orig_super : * mut ext2_super_block , pub image_header : * mut ext2_image_hdr , pub umask : __u32 , pub now : time_t , pub cluster_ratio_bits : :: std :: os :: raw :: c_int , pub default_bitmap_type : __u16 , pub pad : __u16 , pub reserved : [__u32 ; 5usize] , pub priv_data : * mut :: std :: os :: raw :: c_void , pub icache : * mut ext2_inode_cache , pub image_io : io_channel , pub get_alloc_block : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , goal : blk64_t , ret : * mut blk64_t) -> errcode_t > , pub get_alloc_block2 : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , goal : blk64_t , ret : * mut blk64_t , ctx : * mut blk_alloc_ctx) -> errcode_t > , pub block_alloc_stats : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk64_t , inuse : :: std :: os :: raw :: c_int) > , pub mmp_buf : * mut :: std :: os :: raw :: c_void , pub mmp_cmp : * mut :: std :: os :: raw :: c_void , pub mmp_fd : :: std :: os :: raw :: c_int , pub mmp_last_written : :: std :: os :: raw :: c_long , pub progress_ops : * mut ext2fs_progress_ops , pub csum_seed : __u32 , pub journal_io : io_channel , pub journal_name : * mut :: std :: os :: raw :: c_char , pub new_range : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , goal : blk64_t , len : blk64_t , pblk : * mut blk64_t , plen : * mut blk64_t) -> errcode_t > , pub block_alloc_stats_range : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk64_t , num : blk_t , inuse : :: std :: os :: raw :: c_int) > , pub block_sha_map : * mut ext2fs_hashmap , pub encoding : * mut ext2fs_nls_table , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of struct_ext2_filsys"] [:: std :: mem :: size_of :: < struct_ext2_filsys > () - 368usize] ; ["Alignment of struct_ext2_filsys"] [:: std :: mem :: align_of :: < struct_ext2_filsys > () - 8usize] ; ["Offset of field: struct_ext2_filsys::magic"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , magic) - 0usize] ; ["Offset of field: struct_ext2_filsys::io"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , io) - 8usize] ; ["Offset of field: struct_ext2_filsys::flags"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , flags) - 16usize] ; ["Offset of field: struct_ext2_filsys::device_name"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , device_name) - 24usize] ; ["Offset of field: struct_ext2_filsys::super_"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , super_) - 32usize] ; ["Offset of field: struct_ext2_filsys::blocksize"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , blocksize) - 40usize] ; ["Offset of field: struct_ext2_filsys::fragsize"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , fragsize) - 44usize] ; ["Offset of field: struct_ext2_filsys::group_desc_count"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , group_desc_count) - 48usize] ; ["Offset of field: struct_ext2_filsys::desc_blocks"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , desc_blocks) - 56usize] ; ["Offset of field: struct_ext2_filsys::group_desc"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , group_desc) - 64usize] ; ["Offset of field: struct_ext2_filsys::inode_blocks_per_group"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , inode_blocks_per_group) - 72usize] ; ["Offset of field: struct_ext2_filsys::inode_map"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , inode_map) - 80usize] ; ["Offset of field: struct_ext2_filsys::block_map"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , block_map) - 88usize] ; ["Offset of field: struct_ext2_filsys::get_blocks"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , get_blocks) - 96usize] ; ["Offset of field: struct_ext2_filsys::check_directory"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , check_directory) - 104usize] ; ["Offset of field: struct_ext2_filsys::write_bitmaps"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , write_bitmaps) - 112usize] ; ["Offset of field: struct_ext2_filsys::read_inode"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , read_inode) - 120usize] ; ["Offset of field: struct_ext2_filsys::write_inode"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , write_inode) - 128usize] ; ["Offset of field: struct_ext2_filsys::badblocks"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , badblocks) - 136usize] ; ["Offset of field: struct_ext2_filsys::dblist"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , dblist) - 144usize] ; ["Offset of field: struct_ext2_filsys::stride"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , stride) - 152usize] ; ["Offset of field: struct_ext2_filsys::orig_super"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , orig_super) - 160usize] ; ["Offset of field: struct_ext2_filsys::image_header"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , image_header) - 168usize] ; ["Offset of field: struct_ext2_filsys::umask"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , umask) - 176usize] ; ["Offset of field: struct_ext2_filsys::now"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , now) - 184usize] ; ["Offset of field: struct_ext2_filsys::cluster_ratio_bits"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , cluster_ratio_bits) - 192usize] ; ["Offset of field: struct_ext2_filsys::default_bitmap_type"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , default_bitmap_type) - 196usize] ; ["Offset of field: struct_ext2_filsys::pad"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , pad) - 198usize] ; ["Offset of field: struct_ext2_filsys::reserved"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , reserved) - 200usize] ; ["Offset of field: struct_ext2_filsys::priv_data"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , priv_data) - 224usize] ; ["Offset of field: struct_ext2_filsys::icache"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , icache) - 232usize] ; ["Offset of field: struct_ext2_filsys::image_io"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , image_io) - 240usize] ; ["Offset of field: struct_ext2_filsys::get_alloc_block"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , get_alloc_block) - 248usize] ; ["Offset of field: struct_ext2_filsys::get_alloc_block2"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , get_alloc_block2) - 256usize] ; ["Offset of field: struct_ext2_filsys::block_alloc_stats"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , block_alloc_stats) - 264usize] ; ["Offset of field: struct_ext2_filsys::mmp_buf"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , mmp_buf) - 272usize] ; ["Offset of field: struct_ext2_filsys::mmp_cmp"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , mmp_cmp) - 280usize] ; ["Offset of field: struct_ext2_filsys::mmp_fd"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , mmp_fd) - 288usize] ; ["Offset of field: struct_ext2_filsys::mmp_last_written"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , mmp_last_written) - 296usize] ; ["Offset of field: struct_ext2_filsys::progress_ops"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , progress_ops) - 304usize] ; ["Offset of field: struct_ext2_filsys::csum_seed"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , csum_seed) - 312usize] ; ["Offset of field: struct_ext2_filsys::journal_io"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , journal_io) - 320usize] ; ["Offset of field: struct_ext2_filsys::journal_name"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , journal_name) - 328usize] ; ["Offset of field: struct_ext2_filsys::new_range"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , new_range) - 336usize] ; ["Offset of field: struct_ext2_filsys::block_alloc_stats_range"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , block_alloc_stats_range) - 344usize] ; ["Offset of field: struct_ext2_filsys::block_sha_map"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , block_sha_map) - 352usize] ; ["Offset of field: struct_ext2_filsys::encoding"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , encoding) - 360usize] ; } ; unsafe extern "C" { pub fn ext2fs_warn_bitmap (errcode : errcode_t , arg : :: std :: os :: raw :: c_ulong , description : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn ext2fs_warn_bitmap2 (bitmap : ext2fs_generic_bitmap , code : :: std :: os :: raw :: c_int , arg : :: std :: os :: raw :: c_ulong) ; } unsafe extern "C" { pub fn ext2fs_fast_set_bit (nr : :: std :: os :: raw :: c_uint , addr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn ext2fs_fast_clear_bit (nr : :: std :: os :: raw :: c_uint , addr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn ext2fs_fast_set_bit64 (nr : __u64 , addr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn ext2fs_fast_clear_bit64 (nr : __u64 , addr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn ext2fs_swab16 (val : __u16) -> __u16 ; } unsafe extern "C" { pub fn ext2fs_swab32 (val : __u32) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_swab64 (val : __u64) -> __u64 ; } unsafe extern "C" { pub fn ext2fs_mark_block_bitmap (bitmap : ext2fs_block_bitmap , block : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_unmark_block_bitmap (bitmap : ext2fs_block_bitmap , block : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_block_bitmap (bitmap : ext2fs_block_bitmap , block : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mark_inode_bitmap (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_unmark_inode_bitmap (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_inode_bitmap (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_fast_mark_block_bitmap (bitmap : ext2fs_block_bitmap , block : blk_t) ; } unsafe extern "C" { pub fn ext2fs_fast_unmark_block_bitmap (bitmap : ext2fs_block_bitmap , block : blk_t) ; } unsafe extern "C" { pub fn ext2fs_fast_test_block_bitmap (bitmap : ext2fs_block_bitmap , block : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_fast_mark_inode_bitmap (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) ; } unsafe extern "C" { pub fn ext2fs_fast_unmark_inode_bitmap (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) ; } unsafe extern "C" { pub fn ext2fs_fast_test_inode_bitmap (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_get_block_bitmap_start (bitmap : ext2fs_block_bitmap) -> blk_t ; } unsafe extern "C" { pub fn ext2fs_get_inode_bitmap_start (bitmap : ext2fs_inode_bitmap) -> ext2_ino_t ; } unsafe extern "C" { pub fn ext2fs_get_block_bitmap_end (bitmap : ext2fs_block_bitmap) -> blk_t ; } unsafe extern "C" { pub fn ext2fs_get_inode_bitmap_end (bitmap : ext2fs_inode_bitmap) -> ext2_ino_t ; } unsafe extern "C" { pub fn ext2fs_fast_mark_block_bitmap_range (bitmap : ext2fs_block_bitmap , block : blk_t , num : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_fast_unmark_block_bitmap_range (bitmap : ext2fs_block_bitmap , block : blk_t , num : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_fast_test_block_bitmap_range (bitmap : ext2fs_block_bitmap , block : blk_t , num : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mark_block_bitmap_range (bitmap : ext2fs_block_bitmap , block : blk_t , num : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_unmark_block_bitmap_range (bitmap : ext2fs_block_bitmap , block : blk_t , num : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_test_block_bitmap_range (bitmap : ext2fs_block_bitmap , block : blk_t , num : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_inode_bitmap_range (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t , num : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mark_generic_bitmap (bitmap : ext2fs_generic_bitmap , bitno : __u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_unmark_generic_bitmap (bitmap : ext2fs_generic_bitmap , bitno : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_generic_bitmap (bitmap : ext2fs_generic_bitmap , bitno : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_set_bitmap_padding (map : ext2fs_generic_bitmap) ; } unsafe extern "C" { pub fn ext2fs_get_generic_bitmap_start (bitmap : ext2fs_generic_bitmap) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_get_generic_bitmap_end (bitmap : ext2fs_generic_bitmap) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_mark_block_bitmap2 (bitmap : ext2fs_block_bitmap , block : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_unmark_block_bitmap2 (bitmap : ext2fs_block_bitmap , block : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_block_bitmap2 (bitmap : ext2fs_block_bitmap , block : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mark_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_unmark_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_fast_mark_block_bitmap2 (bitmap : ext2fs_block_bitmap , block : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_fast_unmark_block_bitmap2 (bitmap : ext2fs_block_bitmap , block : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_fast_test_block_bitmap2 (bitmap : ext2fs_block_bitmap , block : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_fast_mark_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) ; } unsafe extern "C" { pub fn ext2fs_fast_unmark_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) ; } unsafe extern "C" { pub fn ext2fs_fast_test_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_find_first_zero_block_bitmap2 (bitmap : ext2fs_block_bitmap , start : blk64_t , end : blk64_t , out : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_first_zero_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , start : ext2_ino_t , end : ext2_ino_t , out : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_first_set_block_bitmap2 (bitmap : ext2fs_block_bitmap , start : blk64_t , end : blk64_t , out : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_first_set_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , start : ext2_ino_t , end : ext2_ino_t , out : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_block_bitmap_start2 (bitmap : ext2fs_block_bitmap) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_get_inode_bitmap_start2 (bitmap : ext2fs_inode_bitmap) -> ext2_ino_t ; } unsafe extern "C" { pub fn ext2fs_get_block_bitmap_end2 (bitmap : ext2fs_block_bitmap) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_get_inode_bitmap_end2 (bitmap : ext2fs_inode_bitmap) -> ext2_ino_t ; } unsafe extern "C" { pub fn ext2fs_fast_test_block_bitmap_range2 (bitmap : ext2fs_block_bitmap , block : blk64_t , num : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_fast_mark_block_bitmap_range2 (bitmap : ext2fs_block_bitmap , block : blk64_t , num : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn ext2fs_fast_unmark_block_bitmap_range2 (bitmap : ext2fs_block_bitmap , block : blk64_t , num : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn ext2fs_clear_generic_bmap (bitmap : ext2fs_generic_bitmap) ; } unsafe extern "C" { pub fn ext2fs_compare_generic_bmap (neq : errcode_t , bm1 : ext2fs_generic_bitmap , bm2 : ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_generic_bmap_padding (bmap : ext2fs_generic_bitmap) ; } unsafe extern "C" { pub fn ext2fs_mark_generic_bmap (bitmap : ext2fs_generic_bitmap , bitno : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_unmark_generic_bmap (bitmap : ext2fs_generic_bitmap , bitno : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_generic_bmap (bitmap : ext2fs_generic_bitmap , bitno : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_block_bitmap_range2 (bitmap : ext2fs_block_bitmap , block : blk64_t , num : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_get_generic_bmap_start (bitmap : ext2fs_generic_bitmap) -> __u64 ; } unsafe extern "C" { pub fn ext2fs_get_generic_bmap_end (bitmap : ext2fs_generic_bitmap) -> __u64 ; } unsafe extern "C" { pub fn ext2fs_mark_block_bitmap_range2 (bitmap : ext2fs_block_bitmap , block : blk64_t , num : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn ext2fs_unmark_block_bitmap_range2 (bitmap : ext2fs_block_bitmap , block : blk64_t , num : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn ext2fs_find_first_zero_generic_bmap (bitmap : ext2fs_generic_bitmap , start : __u64 , end : __u64 , out : * mut __u64) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_first_set_generic_bmap (bitmap : ext2fs_generic_bitmap , start : __u64 , end : __u64 , out : * mut __u64) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_bit (nr : :: std :: os :: raw :: c_uint , addr : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_clear_bit (nr : :: std :: os :: raw :: c_uint , addr : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_bit (nr : :: std :: os :: raw :: c_uint , addr : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_set_bit64 (nr : __u64 , addr : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_clear_bit64 (nr : __u64 , addr : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_bit64 (nr : __u64 , addr : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_bitcount (addr : * const :: std :: os :: raw :: c_void , nbytes : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_uint ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct blk_alloc_ctx { pub ino : ext2_ino_t , pub inode : * mut ext2_inode , pub lblk : blk64_t , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of blk_alloc_ctx"] [:: std :: mem :: size_of :: < blk_alloc_ctx > () - 32usize] ; ["Alignment of blk_alloc_ctx"] [:: std :: mem :: align_of :: < blk_alloc_ctx > () - 8usize] ; ["Offset of field: blk_alloc_ctx::ino"] [:: std :: mem :: offset_of ! (blk_alloc_ctx , ino) - 0usize] ; ["Offset of field: blk_alloc_ctx::inode"] [:: std :: mem :: offset_of ! (blk_alloc_ctx , inode) - 8usize] ; ["Offset of field: blk_alloc_ctx::lblk"] [:: std :: mem :: offset_of ! (blk_alloc_ctx , lblk) - 16usize] ; ["Offset of field: blk_alloc_ctx::flags"] [:: std :: mem :: offset_of ! (blk_alloc_ctx , flags) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_extent { pub e_pblk : blk64_t , pub e_lblk : blk64_t , pub e_len : __u32 , pub e_flags : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2fs_extent"] [:: std :: mem :: size_of :: < ext2fs_extent > () - 24usize] ; ["Alignment of ext2fs_extent"] [:: std :: mem :: align_of :: < ext2fs_extent > () - 8usize] ; ["Offset of field: ext2fs_extent::e_pblk"] [:: std :: mem :: offset_of ! (ext2fs_extent , e_pblk) - 0usize] ; ["Offset of field: ext2fs_extent::e_lblk"] [:: std :: mem :: offset_of ! (ext2fs_extent , e_lblk) - 8usize] ; ["Offset of field: ext2fs_extent::e_len"] [:: std :: mem :: offset_of ! (ext2fs_extent , e_len) - 16usize] ; ["Offset of field: ext2fs_extent::e_flags"] [:: std :: mem :: offset_of ! (ext2fs_extent , e_flags) - 20usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_extent_handle { _unused : [u8 ; 0] , } pub type ext2_extent_handle_t = * mut ext2_extent_handle ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_extent_path { _unused : [u8 ; 0] , } pub type ext2_extent_path_t = * mut ext2_extent_path ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_extent_info { pub curr_entry : :: std :: os :: raw :: c_int , pub curr_level : :: std :: os :: raw :: c_int , pub num_entries : :: std :: os :: raw :: c_int , pub max_entries : :: std :: os :: raw :: c_int , pub max_depth : :: std :: os :: raw :: c_int , pub bytes_avail : :: std :: os :: raw :: c_int , pub max_lblk : blk64_t , pub max_pblk : blk64_t , pub max_len : __u32 , pub max_uninit_len : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_extent_info"] [:: std :: mem :: size_of :: < ext2_extent_info > () - 48usize] ; ["Alignment of ext2_extent_info"] [:: std :: mem :: align_of :: < ext2_extent_info > () - 8usize] ; ["Offset of field: ext2_extent_info::curr_entry"] [:: std :: mem :: offset_of ! (ext2_extent_info , curr_entry) - 0usize] ; ["Offset of field: ext2_extent_info::curr_level"] [:: std :: mem :: offset_of ! (ext2_extent_info , curr_level) - 4usize] ; ["Offset of field: ext2_extent_info::num_entries"] [:: std :: mem :: offset_of ! (ext2_extent_info , num_entries) - 8usize] ; ["Offset of field: ext2_extent_info::max_entries"] [:: std :: mem :: offset_of ! (ext2_extent_info , max_entries) - 12usize] ; ["Offset of field: ext2_extent_info::max_depth"] [:: std :: mem :: offset_of ! (ext2_extent_info , max_depth) - 16usize] ; ["Offset of field: ext2_extent_info::bytes_avail"] [:: std :: mem :: offset_of ! (ext2_extent_info , bytes_avail) - 20usize] ; ["Offset of field: ext2_extent_info::max_lblk"] [:: std :: mem :: offset_of ! (ext2_extent_info , max_lblk) - 24usize] ; ["Offset of field: ext2_extent_info::max_pblk"] [:: std :: mem :: offset_of ! (ext2_extent_info , max_pblk) - 32usize] ; ["Offset of field: ext2_extent_info::max_len"] [:: std :: mem :: offset_of ! (ext2_extent_info , max_len) - 40usize] ; ["Offset of field: ext2_extent_info::max_uninit_len"] [:: std :: mem :: offset_of ! (ext2_extent_info , max_uninit_len) - 44usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_struct_inode_scan { _unused : [u8 ; 0] , } pub type ext2_inode_scan = * mut ext2_struct_inode_scan ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_icount { _unused : [u8 ; 0] , } pub type ext2_icount_t = * mut ext2_icount ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct stat { _unused : [u8 ; 0] , } pub type ext2fs_struct_stat = stat ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_xattr_handle { _unused : [u8 ; 0] , } unsafe extern "C" { pub fn ext2fs_clear_block_uninit (fs : ext2_filsys , group : dgrp_t) ; } unsafe extern "C" { pub fn ext2fs_new_inode (fs : ext2_filsys , dir : ext2_ino_t , mode : :: std :: os :: raw :: c_int , map : ext2fs_inode_bitmap , ret : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_new_block (fs : ext2_filsys , goal : blk_t , map : ext2fs_block_bitmap , ret : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_new_block2 (fs : ext2_filsys , goal : blk64_t , map : ext2fs_block_bitmap , ret : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_new_block3 (fs : ext2_filsys , goal : blk64_t , map : ext2fs_block_bitmap , ret : * mut blk64_t , ctx : * mut blk_alloc_ctx) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_free_blocks (fs : ext2_filsys , start : blk_t , finish : blk_t , num : :: std :: os :: raw :: c_int , map : ext2fs_block_bitmap , ret : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_free_blocks2 (fs : ext2_filsys , start : blk64_t , finish : blk64_t , num : :: std :: os :: raw :: c_int , map : ext2fs_block_bitmap , ret : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_alloc_block (fs : ext2_filsys , goal : blk_t , block_buf : * mut :: std :: os :: raw :: c_char , ret : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_alloc_block2 (fs : ext2_filsys , goal : blk64_t , block_buf : * mut :: std :: os :: raw :: c_char , ret : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_alloc_block3 (fs : ext2_filsys , goal : blk64_t , block_buf : * mut :: std :: os :: raw :: c_char , ret : * mut blk64_t , ctx : * mut blk_alloc_ctx) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_alloc_block_callback (fs : ext2_filsys , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , goal : blk64_t , ret : * mut blk64_t) -> errcode_t > , old : * mut :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , goal : blk64_t , ret : * mut blk64_t) -> errcode_t >) ; } unsafe extern "C" { pub fn ext2fs_find_inode_goal (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , lblk : blk64_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_set_new_range_callback (fs : ext2_filsys , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , goal : blk64_t , len : blk64_t , pblk : * mut blk64_t , plen : * mut blk64_t) -> errcode_t > , old : * mut :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , goal : blk64_t , len : blk64_t , pblk : * mut blk64_t , plen : * mut blk64_t) -> errcode_t >) ; } unsafe extern "C" { pub fn ext2fs_set_block_alloc_stats_range_callback (fs : ext2_filsys , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk64_t , num : blk_t , inuse : :: std :: os :: raw :: c_int) > , old : * mut :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk64_t , num : blk_t , inuse : :: std :: os :: raw :: c_int) >) ; } unsafe extern "C" { pub fn ext2fs_new_range (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , goal : blk64_t , len : blk64_t , map : ext2fs_block_bitmap , pblk : * mut blk64_t , plen : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_alloc_range (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , goal : blk64_t , len : blk_t , ret : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_reserve_super_and_bgd (fs : ext2_filsys , group : dgrp_t , bmap : ext2fs_block_bitmap) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_set_block_alloc_stats_callback (fs : ext2_filsys , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk64_t , inuse : :: std :: os :: raw :: c_int) > , old : * mut :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk64_t , inuse : :: std :: os :: raw :: c_int) >) ; } unsafe extern "C" { pub fn ext2fs_inode_alloc_stats (fs : ext2_filsys , ino : ext2_ino_t , inuse : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_inode_alloc_stats2 (fs : ext2_filsys , ino : ext2_ino_t , inuse : :: std :: os :: raw :: c_int , isdir : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_block_alloc_stats (fs : ext2_filsys , blk : blk_t , inuse : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_block_alloc_stats2 (fs : ext2_filsys , blk : blk64_t , inuse : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_block_alloc_stats_range (fs : ext2_filsys , blk : blk64_t , num : blk_t , inuse : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_allocate_tables (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_allocate_group_table (fs : ext2_filsys , group : dgrp_t , bmap : ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_u32_list_create (ret : * mut ext2_u32_list , size : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_u32_list_add (bb : ext2_u32_list , blk : __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_u32_list_find (bb : ext2_u32_list , blk : __u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_u32_list_test (bb : ext2_u32_list , blk : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_u32_list_iterate_begin (bb : ext2_u32_list , ret : * mut ext2_u32_iterate) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_u32_list_iterate (iter : ext2_u32_iterate , blk : * mut blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_u32_list_iterate_end (iter : ext2_u32_iterate) ; } unsafe extern "C" { pub fn ext2fs_u32_copy (src : ext2_u32_list , dest : * mut ext2_u32_list) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_u32_list_equal (bb1 : ext2_u32_list , bb2 : ext2_u32_list) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_create (ret : * mut ext2_badblocks_list , size : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_add (bb : ext2_badblocks_list , blk : blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_test (bb : ext2_badblocks_list , blk : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_u32_list_del (bb : ext2_u32_list , blk : __u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_del (bb : ext2_u32_list , blk : __u32) ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_iterate_begin (bb : ext2_badblocks_list , ret : * mut ext2_badblocks_iterate) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_iterate (iter : ext2_badblocks_iterate , blk : * mut blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_iterate_end (iter : ext2_badblocks_iterate) ; } unsafe extern "C" { pub fn ext2fs_badblocks_copy (src : ext2_badblocks_list , dest : * mut ext2_badblocks_list) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_badblocks_equal (bb1 : ext2_badblocks_list , bb2 : ext2_badblocks_list) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_u32_list_count (bb : ext2_u32_list) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_update_bb_inode (fs : ext2_filsys , bb_list : ext2_badblocks_list) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free_block_bitmap (bitmap : ext2fs_block_bitmap) ; } unsafe extern "C" { pub fn ext2fs_free_inode_bitmap (bitmap : ext2fs_inode_bitmap) ; } unsafe extern "C" { pub fn ext2fs_copy_bitmap (src : ext2fs_generic_bitmap , dest : * mut ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_allocate_block_bitmap (fs : ext2_filsys , descr : * const :: std :: os :: raw :: c_char , ret : * mut ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_allocate_subcluster_bitmap (fs : ext2_filsys , descr : * const :: std :: os :: raw :: c_char , ret : * mut ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_bitmap_granularity (bitmap : ext2fs_block_bitmap) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_allocate_inode_bitmap (fs : ext2_filsys , descr : * const :: std :: os :: raw :: c_char , ret : * mut ext2fs_inode_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_fudge_inode_bitmap_end (bitmap : ext2fs_inode_bitmap , end : ext2_ino_t , oend : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_fudge_block_bitmap_end (bitmap : ext2fs_block_bitmap , end : blk_t , oend : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_fudge_block_bitmap_end2 (bitmap : ext2fs_block_bitmap , end : blk64_t , oend : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_clear_inode_bitmap (bitmap : ext2fs_inode_bitmap) ; } unsafe extern "C" { pub fn ext2fs_clear_block_bitmap (bitmap : ext2fs_block_bitmap) ; } unsafe extern "C" { pub fn ext2fs_resize_inode_bitmap (new_end : __u32 , new_real_end : __u32 , bmap : ext2fs_inode_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_resize_inode_bitmap2 (new_end : __u64 , new_real_end : __u64 , bmap : ext2fs_inode_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_resize_block_bitmap (new_end : __u32 , new_real_end : __u32 , bmap : ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_resize_block_bitmap2 (new_end : __u64 , new_real_end : __u64 , bmap : ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_compare_block_bitmap (bm1 : ext2fs_block_bitmap , bm2 : ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_compare_inode_bitmap (bm1 : ext2fs_inode_bitmap , bm2 : ext2fs_inode_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_inode_bitmap_range (bmap : ext2fs_inode_bitmap , start : ext2_ino_t , num : :: std :: os :: raw :: c_uint , in_ : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_inode_bitmap_range2 (bmap : ext2fs_inode_bitmap , start : __u64 , num : usize , in_ : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_inode_bitmap_range (bmap : ext2fs_inode_bitmap , start : ext2_ino_t , num : :: std :: os :: raw :: c_uint , out : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_inode_bitmap_range2 (bmap : ext2fs_inode_bitmap , start : __u64 , num : usize , out : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_block_bitmap_range (bmap : ext2fs_block_bitmap , start : blk_t , num : :: std :: os :: raw :: c_uint , in_ : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_block_bitmap_range2 (bmap : ext2fs_block_bitmap , start : blk64_t , num : usize , in_ : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_block_bitmap_range (bmap : ext2fs_block_bitmap , start : blk_t , num : :: std :: os :: raw :: c_uint , out : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_block_bitmap_range2 (bmap : ext2fs_block_bitmap , start : blk64_t , num : usize , out : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inode_bitmap_checksum (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_block_bitmap_checksum (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_group_of_blk2 (fs : ext2_filsys , arg1 : blk64_t) -> dgrp_t ; } unsafe extern "C" { pub fn ext2fs_group_first_block2 (fs : ext2_filsys , group : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_group_last_block2 (fs : ext2_filsys , group : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_group_blocks_count (fs : ext2_filsys , group : dgrp_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_inode_data_blocks2 (fs : ext2_filsys , inode : * mut ext2_inode) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_inode_i_blocks (fs : ext2_filsys , inode : * mut ext2_inode) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_get_stat_i_blocks (fs : ext2_filsys , inode : * mut ext2_inode) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_blocks_count (super_ : * mut ext2_super_block) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_blocks_count_set (super_ : * mut ext2_super_block , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_blocks_count_add (super_ : * mut ext2_super_block , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_r_blocks_count (super_ : * mut ext2_super_block) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_r_blocks_count_set (super_ : * mut ext2_super_block , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_r_blocks_count_add (super_ : * mut ext2_super_block , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_free_blocks_count (super_ : * mut ext2_super_block) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_free_blocks_count_set (super_ : * mut ext2_super_block , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_free_blocks_count_add (super_ : * mut ext2_super_block , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_group_desc (fs : ext2_filsys , gdp : * mut opaque_ext2_group_desc , group : dgrp_t) -> * mut ext2_group_desc ; } unsafe extern "C" { pub fn ext2fs_block_bitmap_csum (fs : ext2_filsys , group : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_block_bitmap_loc (fs : ext2_filsys , group : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_block_bitmap_loc_set (fs : ext2_filsys , group : dgrp_t , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_inode_bitmap_csum (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_inode_bitmap_loc (fs : ext2_filsys , group : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_inode_bitmap_loc_set (fs : ext2_filsys , group : dgrp_t , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_inode_table_loc (fs : ext2_filsys , group : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_inode_table_loc_set (fs : ext2_filsys , group : dgrp_t , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_bg_free_blocks_count (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_bg_free_blocks_count_set (fs : ext2_filsys , group : dgrp_t , n : __u32) ; } unsafe extern "C" { pub fn ext2fs_bg_free_inodes_count (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_bg_free_inodes_count_set (fs : ext2_filsys , group : dgrp_t , n : __u32) ; } unsafe extern "C" { pub fn ext2fs_bg_used_dirs_count (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_bg_used_dirs_count_set (fs : ext2_filsys , group : dgrp_t , n : __u32) ; } unsafe extern "C" { pub fn ext2fs_bg_itable_unused (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_bg_itable_unused_set (fs : ext2_filsys , group : dgrp_t , n : __u32) ; } unsafe extern "C" { pub fn ext2fs_bg_flags (fs : ext2_filsys , group : dgrp_t) -> __u16 ; } unsafe extern "C" { pub fn ext2fs_bg_flags_zap (fs : ext2_filsys , group : dgrp_t) ; } unsafe extern "C" { pub fn ext2fs_bg_flags_test (fs : ext2_filsys , group : dgrp_t , bg_flag : __u16) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_bg_flags_set (fs : ext2_filsys , group : dgrp_t , bg_flags : __u16) ; } unsafe extern "C" { pub fn ext2fs_bg_flags_clear (fs : ext2_filsys , group : dgrp_t , bg_flags : __u16) ; } unsafe extern "C" { pub fn ext2fs_bg_checksum (fs : ext2_filsys , group : dgrp_t) -> __u16 ; } unsafe extern "C" { pub fn ext2fs_bg_checksum_set (fs : ext2_filsys , group : dgrp_t , checksum : __u16) ; } unsafe extern "C" { pub fn ext2fs_file_acl_block (fs : ext2_filsys , inode : * const ext2_inode) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_file_acl_block_set (fs : ext2_filsys , inode : * mut ext2_inode , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_inode_size_set (fs : ext2_filsys , inode : * mut ext2_inode , size : ext2_off64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_block_iterate (fs : ext2_filsys , ino : ext2_ino_t , flags : :: std :: os :: raw :: c_int , block_buf : * mut :: std :: os :: raw :: c_char , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blocknr : * mut blk_t , blockcnt : :: std :: os :: raw :: c_int , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_block_iterate2 (fs : ext2_filsys , ino : ext2_ino_t , flags : :: std :: os :: raw :: c_int , block_buf : * mut :: std :: os :: raw :: c_char , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blocknr : * mut blk_t , blockcnt : e2_blkcnt_t , ref_blk : blk_t , ref_offset : :: std :: os :: raw :: c_int , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_block_iterate3 (fs : ext2_filsys , ino : ext2_ino_t , flags : :: std :: os :: raw :: c_int , block_buf : * mut :: std :: os :: raw :: c_char , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blocknr : * mut blk64_t , blockcnt : e2_blkcnt_t , ref_blk : blk64_t , ref_offset : :: std :: os :: raw :: c_int , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_bmap (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , block_buf : * mut :: std :: os :: raw :: c_char , bmap_flags : :: std :: os :: raw :: c_int , block : blk_t , phys_blk : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_bmap2 (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , block_buf : * mut :: std :: os :: raw :: c_char , bmap_flags : :: std :: os :: raw :: c_int , block : blk64_t , ret_flags : * mut :: std :: os :: raw :: c_int , phys_blk : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_map_cluster_block (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , lblk : blk64_t , pblk : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_check_desc (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_close (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_close2 (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_close_free (fs : * mut ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_flush (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_flush2 (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_bg_has_super (fs : ext2_filsys , group_block : dgrp_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_super_and_bgd_loc2 (fs : ext2_filsys , group : dgrp_t , ret_super_blk : * mut blk64_t , ret_old_desc_blk : * mut blk64_t , ret_new_desc_blk : * mut blk64_t , ret_used_blks : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_super_and_bgd_loc (fs : ext2_filsys , group : dgrp_t , ret_super_blk : * mut blk_t , ret_old_desc_blk : * mut blk_t , ret_new_desc_blk : * mut blk_t , ret_meta_bg : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_update_dynamic_rev (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_crc32_be (crc : __u32 , p : * const :: std :: os :: raw :: c_uchar , len : usize) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_crc32c_le (crc : __u32 , p : * const :: std :: os :: raw :: c_uchar , len : usize) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_init_csum_seed (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_mmp_csum_set (fs : ext2_filsys , mmp : * mut mmp_struct) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_csum_verify (arg1 : ext2_filsys , mmp : * mut mmp_struct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_verify_csum_type (fs : ext2_filsys , sb : * mut ext2_super_block) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_superblock_csum_set (fs : ext2_filsys , sb : * mut ext2_super_block) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_superblock_csum_verify (fs : ext2_filsys , sb : * mut ext2_super_block) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_ext_attr_block_csum_set (fs : ext2_filsys , inum : ext2_ino_t , block : blk64_t , hdr : * mut ext2_ext_attr_header) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_ext_attr_block_csum_verify (fs : ext2_filsys , inum : ext2_ino_t , block : blk64_t , hdr : * mut ext2_ext_attr_header) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_initialize_dirent_tail (fs : ext2_filsys , t : * mut ext2_dir_entry_tail) ; } unsafe extern "C" { pub fn ext2fs_dirent_has_tail (fs : ext2_filsys , dirent : * mut ext2_dir_entry) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_dirent_csum_verify (fs : ext2_filsys , inum : ext2_ino_t , dirent : * mut ext2_dir_entry) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_dir_block_csum_verify (fs : ext2_filsys , inum : ext2_ino_t , dirent : * mut ext2_dir_entry) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_dir_block_csum_set (fs : ext2_filsys , inum : ext2_ino_t , dirent : * mut ext2_dir_entry) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_dx_countlimit (fs : ext2_filsys , dirent : * mut ext2_dir_entry , cc : * mut * mut ext2_dx_countlimit , offset : * mut :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dx_csum (fs : ext2_filsys , inum : ext2_ino_t , dirent : * mut ext2_dir_entry , crc : * mut __u32 , ret_t : * mut * mut ext2_dx_tail) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_block_csum_set (fs : ext2_filsys , inum : ext2_ino_t , eh : * mut ext3_extent_header) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_block_csum_verify (fs : ext2_filsys , inum : ext2_ino_t , eh : * mut ext3_extent_header) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_block_bitmap_csum_set (fs : ext2_filsys , group : dgrp_t , bitmap : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_block_bitmap_csum_verify (fs : ext2_filsys , group : dgrp_t , bitmap : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_inode_bitmap_csum_set (fs : ext2_filsys , group : dgrp_t , bitmap : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inode_bitmap_csum_verify (fs : ext2_filsys , group : dgrp_t , bitmap : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_inode_csum_set (fs : ext2_filsys , inum : ext2_ino_t , inode : * mut ext2_inode_large) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inode_csum_verify (fs : ext2_filsys , inum : ext2_ino_t , inode : * mut ext2_inode_large) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_group_desc_csum_set (fs : ext2_filsys , group : dgrp_t) ; } unsafe extern "C" { pub fn ext2fs_group_desc_csum_verify (fs : ext2_filsys , group : dgrp_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_set_gdt_csum (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_group_desc_csum (fs : ext2_filsys , group : dgrp_t) -> __u16 ; } unsafe extern "C" { pub fn ext2fs_init_dblist (fs : ext2_filsys , ret_dblist : * mut ext2_dblist) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_add_dir_block (dblist : ext2_dblist , ino : ext2_ino_t , blk : blk_t , blockcnt : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_add_dir_block2 (dblist : ext2_dblist , ino : ext2_ino_t , blk : blk64_t , blockcnt : e2_blkcnt_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_sort (dblist : ext2_dblist , sortfunc : :: std :: option :: Option < unsafe extern "C" fn (arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int >) ; } unsafe extern "C" { pub fn ext2fs_dblist_sort2 (dblist : ext2_dblist , sortfunc : :: std :: option :: Option < unsafe extern "C" fn (arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int >) ; } unsafe extern "C" { pub fn ext2fs_dblist_iterate (dblist : ext2_dblist , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , db_info : * mut ext2_db_entry , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_iterate2 (dblist : ext2_dblist , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , db_info : * mut ext2_db_entry2 , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_iterate3 (dblist : ext2_dblist , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , db_info : * mut ext2_db_entry2 , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , start : :: std :: os :: raw :: c_ulonglong , count : :: std :: os :: raw :: c_ulonglong , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_dir_block (dblist : ext2_dblist , ino : ext2_ino_t , blk : blk_t , blockcnt : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_dir_block2 (dblist : ext2_dblist , ino : ext2_ino_t , blk : blk64_t , blockcnt : e2_blkcnt_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_copy_dblist (src : ext2_dblist , dest : * mut ext2_dblist) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_count (dblist : ext2_dblist) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_dblist_count2 (dblist : ext2_dblist) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_dblist_get_last (dblist : ext2_dblist , entry : * mut * mut ext2_db_entry) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_get_last2 (dblist : ext2_dblist , entry : * mut * mut ext2_db_entry2) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_drop_last (dblist : ext2_dblist) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_dir_iterate (dblist : ext2_dblist , flags : :: std :: os :: raw :: c_int , block_buf : * mut :: std :: os :: raw :: c_char , func : :: std :: option :: Option < unsafe extern "C" fn (dir : ext2_ino_t , entry : :: std :: os :: raw :: c_int , dirent : * mut ext2_dir_entry , offset : :: std :: os :: raw :: c_int , blocksize : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_char , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_dir_block (fs : ext2_filsys , block : blk_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_dir_block2 (fs : ext2_filsys , block : blk_t , buf : * mut :: std :: os :: raw :: c_void , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_dir_block3 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_dir_block4 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void , flags : :: std :: os :: raw :: c_int , ino : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_dir_block (fs : ext2_filsys , block : blk_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_dir_block2 (fs : ext2_filsys , block : blk_t , buf : * mut :: std :: os :: raw :: c_void , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_dir_block3 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_dir_block4 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void , flags : :: std :: os :: raw :: c_int , ino : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dirhash (version : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , seed : * const __u32 , ret_hash : * mut ext2_dirhash_t , ret_minor_hash : * mut ext2_dirhash_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dirhash2 (version : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , charset : * const ext2fs_nls_table , hash_flags : :: std :: os :: raw :: c_int , seed : * const __u32 , ret_hash : * mut ext2_dirhash_t , ret_minor_hash : * mut ext2_dirhash_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_rec_len (fs : ext2_filsys , dirent : * mut ext2_dir_entry , rec_len : * mut :: std :: os :: raw :: c_uint) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_rec_len (fs : ext2_filsys , len : :: std :: os :: raw :: c_uint , dirent : * mut ext2_dir_entry) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dir_iterate (fs : ext2_filsys , dir : ext2_ino_t , flags : :: std :: os :: raw :: c_int , block_buf : * mut :: std :: os :: raw :: c_char , func : :: std :: option :: Option < unsafe extern "C" fn (dirent : * mut ext2_dir_entry , offset : :: std :: os :: raw :: c_int , blocksize : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_char , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dir_iterate2 (fs : ext2_filsys , dir : ext2_ino_t , flags : :: std :: os :: raw :: c_int , block_buf : * mut :: std :: os :: raw :: c_char , func : :: std :: option :: Option < unsafe extern "C" fn (dir : ext2_ino_t , entry : :: std :: os :: raw :: c_int , dirent : * mut ext2_dir_entry , offset : :: std :: os :: raw :: c_int , blocksize : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_char , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dup_handle (src : ext2_filsys , dest : * mut ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_expand_dir (fs : ext2_filsys , dir : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_ext_attr_hash_entry (entry : * mut ext2_ext_attr_entry , data : * mut :: std :: os :: raw :: c_void) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_ext_attr_hash_entry_signed (entry : * mut ext2_ext_attr_entry , data : * mut :: std :: os :: raw :: c_void) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_ext_attr_hash_entry2 (fs : ext2_filsys , entry : * mut ext2_ext_attr_entry , data : * mut :: std :: os :: raw :: c_void , hash : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_ext_attr_hash_entry3 (fs : ext2_filsys , entry : * mut ext2_ext_attr_entry , data : * mut :: std :: os :: raw :: c_void , hash : * mut __u32 , signed_hash : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_ext_attr (fs : ext2_filsys , block : blk_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_ext_attr2 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_ext_attr3 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void , inum : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_ext_attr (fs : ext2_filsys , block : blk_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_ext_attr2 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_ext_attr3 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void , inum : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_adjust_ea_refcount (fs : ext2_filsys , blk : blk_t , block_buf : * mut :: std :: os :: raw :: c_char , adjust : :: std :: os :: raw :: c_int , newcount : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_adjust_ea_refcount2 (fs : ext2_filsys , blk : blk64_t , block_buf : * mut :: std :: os :: raw :: c_char , adjust : :: std :: os :: raw :: c_int , newcount : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_adjust_ea_refcount3 (fs : ext2_filsys , blk : blk64_t , block_buf : * mut :: std :: os :: raw :: c_char , adjust : :: std :: os :: raw :: c_int , newcount : * mut __u32 , inum : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_write (handle : * mut ext2_xattr_handle) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_read (handle : * mut ext2_xattr_handle) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_read_inode (handle : * mut ext2_xattr_handle , inode : * mut ext2_inode_large) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_iterate (h : * mut ext2_xattr_handle , func : :: std :: option :: Option < unsafe extern "C" fn (name : * mut :: std :: os :: raw :: c_char , value : * mut :: std :: os :: raw :: c_char , value_len : usize , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattr_get (h : * mut ext2_xattr_handle , key : * const :: std :: os :: raw :: c_char , value : * mut * mut :: std :: os :: raw :: c_void , value_len : * mut usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattr_set (handle : * mut ext2_xattr_handle , key : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_void , value_len : usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattr_remove (handle : * mut ext2_xattr_handle , key : * const :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_open (fs : ext2_filsys , ino : ext2_ino_t , handle : * mut * mut ext2_xattr_handle) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_close (handle : * mut * mut ext2_xattr_handle) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free_ext_attr (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode_large) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_count (handle : * mut ext2_xattr_handle , count : * mut usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattr_inode_max_size (fs : ext2_filsys , ino : ext2_ino_t , size : * mut usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_flags (handle : * mut ext2_xattr_handle , new_flags : * mut :: std :: os :: raw :: c_uint , old_flags : * mut :: std :: os :: raw :: c_uint) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_ext_attr_block_rehash (header : * mut ext2_ext_attr_header , end : * mut ext2_ext_attr_entry) ; } unsafe extern "C" { pub fn ext2fs_get_ea_inode_hash (inode : * mut ext2_inode) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_set_ea_inode_hash (inode : * mut ext2_inode , hash : __u32) ; } unsafe extern "C" { pub fn ext2fs_get_ea_inode_ref (inode : * mut ext2_inode) -> __u64 ; } unsafe extern "C" { pub fn ext2fs_set_ea_inode_ref (inode : * mut ext2_inode , ref_count : __u64) ; } unsafe extern "C" { pub fn ext2fs_extent_header_verify (ptr : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_open (fs : ext2_filsys , ino : ext2_ino_t , handle : * mut ext2_extent_handle_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_open2 (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , ret_handle : * mut ext2_extent_handle_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_free (handle : ext2_extent_handle_t) ; } unsafe extern "C" { pub fn ext2fs_extent_get (handle : ext2_extent_handle_t , flags : :: std :: os :: raw :: c_int , extent : * mut ext2fs_extent) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_node_split (handle : ext2_extent_handle_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_replace (handle : ext2_extent_handle_t , flags : :: std :: os :: raw :: c_int , extent : * mut ext2fs_extent) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_insert (handle : ext2_extent_handle_t , flags : :: std :: os :: raw :: c_int , extent : * mut ext2fs_extent) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_set_bmap (handle : ext2_extent_handle_t , logical : blk64_t , physical : blk64_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_delete (handle : ext2_extent_handle_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_get_info (handle : ext2_extent_handle_t , info : * mut ext2_extent_info) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_goto (handle : ext2_extent_handle_t , blk : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_goto2 (handle : ext2_extent_handle_t , leaf_level : :: std :: os :: raw :: c_int , blk : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_fix_parents (handle : ext2_extent_handle_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_max_extent_depth (handle : ext2_extent_handle_t) -> usize ; } unsafe extern "C" { pub fn ext2fs_fix_extents_checksums (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_count_blocks (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , ret_count : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_decode_extent (to : * mut ext2fs_extent , from : * mut :: std :: os :: raw :: c_void , len : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_fallocate (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , ino : ext2_ino_t , inode : * mut ext2_inode , goal : blk64_t , start : blk64_t , len : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_open2 (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , flags : :: std :: os :: raw :: c_int , ret : * mut ext2_file_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_open (fs : ext2_filsys , ino : ext2_ino_t , flags : :: std :: os :: raw :: c_int , ret : * mut ext2_file_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_get_fs (file : ext2_file_t) -> ext2_filsys ; } unsafe extern "C" { pub fn ext2fs_file_get_inode (file : ext2_file_t) -> * mut ext2_inode ; } unsafe extern "C" { pub fn ext2fs_file_get_inode_num (file : ext2_file_t) -> ext2_ino_t ; } unsafe extern "C" { pub fn ext2fs_file_close (file : ext2_file_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_flush (file : ext2_file_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_read (file : ext2_file_t , buf : * mut :: std :: os :: raw :: c_void , wanted : :: std :: os :: raw :: c_uint , got : * mut :: std :: os :: raw :: c_uint) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_write (file : ext2_file_t , buf : * const :: std :: os :: raw :: c_void , nbytes : :: std :: os :: raw :: c_uint , written : * mut :: std :: os :: raw :: c_uint) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_llseek (file : ext2_file_t , offset : __u64 , whence : :: std :: os :: raw :: c_int , ret_pos : * mut __u64) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_lseek (file : ext2_file_t , offset : ext2_off_t , whence : :: std :: os :: raw :: c_int , ret_pos : * mut ext2_off_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_get_lsize (file : ext2_file_t , ret_size : * mut __u64) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_get_size (file : ext2_file_t) -> ext2_off_t ; } unsafe extern "C" { pub fn ext2fs_file_set_size (file : ext2_file_t , size : ext2_off_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_set_size2 (file : ext2_file_t , size : ext2_off64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_block_device (device : dev_t) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn ext2fs_sync_device (fd : :: std :: os :: raw :: c_int , flushb : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_free_dblist (dblist : ext2_dblist) ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_free (bb : ext2_badblocks_list) ; } unsafe extern "C" { pub fn ext2fs_u32_list_free (bb : ext2_u32_list) ; } unsafe extern "C" { pub fn ext2fs_free_generic_bitmap (bitmap : ext2fs_inode_bitmap) ; } unsafe extern "C" { pub fn ext2fs_make_generic_bitmap (magic : errcode_t , fs : ext2_filsys , start : __u32 , end : __u32 , real_end : __u32 , descr : * const :: std :: os :: raw :: c_char , init_map : * mut :: std :: os :: raw :: c_char , ret : * mut ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_allocate_generic_bitmap (start : __u32 , end : __u32 , real_end : __u32 , descr : * const :: std :: os :: raw :: c_char , ret : * mut ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_copy_generic_bitmap (src : ext2fs_generic_bitmap , dest : * mut ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_clear_generic_bitmap (bitmap : ext2fs_generic_bitmap) ; } unsafe extern "C" { pub fn ext2fs_fudge_generic_bitmap_end (bitmap : ext2fs_inode_bitmap , magic : errcode_t , neq : errcode_t , end : ext2_ino_t , oend : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_generic_bitmap_padding (map : ext2fs_generic_bitmap) ; } unsafe extern "C" { pub fn ext2fs_resize_generic_bitmap (magic : errcode_t , new_end : __u32 , new_real_end : __u32 , bmap : ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_compare_generic_bitmap (magic : errcode_t , neq : errcode_t , bm1 : ext2fs_generic_bitmap , bm2 : ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_generic_bitmap_range (bmap : ext2fs_generic_bitmap , magic : errcode_t , start : __u32 , num : __u32 , out : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_generic_bitmap_range (bmap : ext2fs_generic_bitmap , magic : errcode_t , start : __u32 , num : __u32 , in_ : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_first_zero_generic_bitmap (bitmap : ext2fs_generic_bitmap , start : __u32 , end : __u32 , out : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_first_set_generic_bitmap (bitmap : ext2fs_generic_bitmap , start : __u32 , end : __u32 , out : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free_generic_bmap (bmap : ext2fs_generic_bitmap) ; } unsafe extern "C" { pub fn ext2fs_alloc_generic_bmap (fs : ext2_filsys , magic : errcode_t , type_ : :: std :: os :: raw :: c_int , start : __u64 , end : __u64 , real_end : __u64 , descr : * const :: std :: os :: raw :: c_char , ret : * mut ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_copy_generic_bmap (src : ext2fs_generic_bitmap , dest : * mut ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_fudge_generic_bmap_end (bitmap : ext2fs_generic_bitmap , neq : errcode_t , end : __u64 , oend : * mut __u64) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_resize_generic_bmap (bmap : ext2fs_generic_bitmap , new_end : __u64 , new_real_end : __u64) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_generic_bmap_range (bmap : ext2fs_generic_bitmap , start : __u64 , num : :: std :: os :: raw :: c_uint , out : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_generic_bmap_range (bmap : ext2fs_generic_bitmap , start : __u64 , num : :: std :: os :: raw :: c_uint , in_ : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_convert_subcluster_bitmap (fs : ext2_filsys , bitmap : * mut ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_count_used_clusters (fs : ext2_filsys , start : blk64_t , end : blk64_t , out : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_num_dirs (fs : ext2_filsys , ret_num_dirs : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_device_size (file : * const :: std :: os :: raw :: c_char , blocksize : :: std :: os :: raw :: c_int , retblocks : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_device_size2 (file : * const :: std :: os :: raw :: c_char , blocksize : :: std :: os :: raw :: c_int , retblocks : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_dio_alignment (fd : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_get_device_sectsize (file : * const :: std :: os :: raw :: c_char , sectsize : * mut :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_device_phys_sectsize (file : * const :: std :: os :: raw :: c_char , sectsize : * mut :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_iblk_add_blocks (fs : ext2_filsys , inode : * mut ext2_inode , num_blocks : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_iblk_sub_blocks (fs : ext2_filsys , inode : * mut ext2_inode , num_blocks : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_iblk_set (fs : ext2_filsys , inode : * mut ext2_inode , b : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_image_inode_write (fs : ext2_filsys , fd : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_image_inode_read (fs : ext2_filsys , fd : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_image_super_write (fs : ext2_filsys , fd : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_image_super_read (fs : ext2_filsys , fd : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_image_bitmap_write (fs : ext2_filsys , fd : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_image_bitmap_read (fs : ext2_filsys , fd : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_ind_block (fs : ext2_filsys , blk : blk_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_ind_block (fs : ext2_filsys , blk : blk_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_initialize (name : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , param : * mut ext2_super_block , manager : io_manager , ret_fs : * mut ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_calculate_summary_stats (fs : ext2_filsys , super_only : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free_icount (icount : ext2_icount_t) ; } unsafe extern "C" { pub fn ext2fs_create_icount_tdb (fs : ext2_filsys , tdb_dir : * mut :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , ret : * mut ext2_icount_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_icount2 (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , size : :: std :: os :: raw :: c_uint , hint : ext2_icount_t , ret : * mut ext2_icount_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_icount (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , size : :: std :: os :: raw :: c_uint , ret : * mut ext2_icount_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_icount_fetch (icount : ext2_icount_t , ino : ext2_ino_t , ret : * mut __u16) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_icount_increment (icount : ext2_icount_t , ino : ext2_ino_t , ret : * mut __u16) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_icount_decrement (icount : ext2_icount_t , ino : ext2_ino_t , ret : * mut __u16) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_icount_store (icount : ext2_icount_t , ino : ext2_ino_t , count : __u16) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_icount_size (icount : ext2_icount_t) -> ext2_ino_t ; } unsafe extern "C" { pub fn ext2fs_icount_validate (icount : ext2_icount_t , arg1 : * mut FILE) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_memalign (size : :: std :: os :: raw :: c_ulong , align : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inline_data_init (fs : ext2_filsys , ino : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inline_data_size (fs : ext2_filsys , ino : ext2_ino_t , size : * mut usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inline_data_get (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , buf : * mut :: std :: os :: raw :: c_void , size : * mut usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inline_data_set (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , buf : * mut :: std :: os :: raw :: c_void , size : usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_inode_cache (fs : ext2_filsys , cache_size : :: std :: os :: raw :: c_uint) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free_inode_cache (icache : * mut ext2_inode_cache) ; } unsafe extern "C" { pub fn ext2fs_flush_icache (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_next_inode_full (scan : ext2_inode_scan , ino : * mut ext2_ino_t , inode : * mut ext2_inode , bufsize : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_open_inode_scan (fs : ext2_filsys , buffer_blocks : :: std :: os :: raw :: c_int , ret_scan : * mut ext2_inode_scan) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_close_inode_scan (scan : ext2_inode_scan) ; } unsafe extern "C" { pub fn ext2fs_get_next_inode (scan : ext2_inode_scan , ino : * mut ext2_ino_t , inode : * mut ext2_inode) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inode_scan_goto_blockgroup (scan : ext2_inode_scan , group : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_inode_callback (scan : ext2_inode_scan , done_group : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , scan : ext2_inode_scan , group : dgrp_t , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t > , done_group_data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn ext2fs_inode_scan_flags (scan : ext2_inode_scan , set_flags : :: std :: os :: raw :: c_int , clear_flags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_read_inode_full (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , bufsize : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_inode (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_inode2 (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , bufsize : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_inode_full (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , bufsize : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_inode (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_inode2 (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , bufsize : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_new_inode (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_blocks (fs : ext2_filsys , ino : ext2_ino_t , blocks : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_check_directory (fs : ext2_filsys , ino : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub static mut inode_io_manager : io_manager ; } unsafe extern "C" { pub fn ext2fs_inode_io_intern (fs : ext2_filsys , ino : ext2_ino_t , name : * mut * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inode_io_intern2 (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , name : * mut * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_check_if_mounted (file : * const :: std :: os :: raw :: c_char , mount_flags : * mut :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_check_mount_point (device : * const :: std :: os :: raw :: c_char , mount_flags : * mut :: std :: os :: raw :: c_int , mtpt : * mut :: std :: os :: raw :: c_char , mtlen : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_punch (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , block_buf : * mut :: std :: os :: raw :: c_char , start : blk64_t , end : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_lookup (fs : ext2_filsys , dir : ext2_ino_t , name : * const :: std :: os :: raw :: c_char , namelen : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_char , inode : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_namei (fs : ext2_filsys , root : ext2_ino_t , cwd : ext2_ino_t , name : * const :: std :: os :: raw :: c_char , inode : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_namei_follow (fs : ext2_filsys , root : ext2_ino_t , cwd : ext2_ino_t , name : * const :: std :: os :: raw :: c_char , inode : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_follow_link (fs : ext2_filsys , root : ext2_ino_t , cwd : ext2_ino_t , inode : ext2_ino_t , res_inode : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_native_flag () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_new_dir_block (fs : ext2_filsys , dir_ino : ext2_ino_t , parent_ino : ext2_ino_t , block : * mut * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_new_dir_inline_data (fs : ext2_filsys , dir_ino : ext2_ino_t , parent_ino : ext2_ino_t , iblock : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_load_nls_table (encoding : :: std :: os :: raw :: c_int) -> * const ext2fs_nls_table ; } unsafe extern "C" { pub fn ext2fs_check_encoded_name (table : * const ext2fs_nls_table , s : * mut :: std :: os :: raw :: c_char , len : usize , pos : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_casefold_cmp (table : * const ext2fs_nls_table , str1 : * const :: std :: os :: raw :: c_uchar , len1 : usize , str2 : * const :: std :: os :: raw :: c_uchar , len2 : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mkdir (fs : ext2_filsys , parent : ext2_ino_t , inum : ext2_ino_t , name : * const :: std :: os :: raw :: c_char) -> errcode_t ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_journal_params { pub num_journal_blocks : blk_t , pub num_fc_blocks : blk_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2fs_journal_params"] [:: std :: mem :: size_of :: < ext2fs_journal_params > () - 8usize] ; ["Alignment of ext2fs_journal_params"] [:: std :: mem :: align_of :: < ext2fs_journal_params > () - 4usize] ; ["Offset of field: ext2fs_journal_params::num_journal_blocks"] [:: std :: mem :: offset_of ! (ext2fs_journal_params , num_journal_blocks) - 0usize] ; ["Offset of field: ext2fs_journal_params::num_fc_blocks"] [:: std :: mem :: offset_of ! (ext2fs_journal_params , num_fc_blocks) - 4usize] ; } ; unsafe extern "C" { pub fn ext2fs_get_journal_params (params : * mut ext2fs_journal_params , fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_zero_blocks (fs : ext2_filsys , blk : blk_t , num : :: std :: os :: raw :: c_int , ret_blk : * mut blk_t , ret_count : * mut :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_zero_blocks2 (fs : ext2_filsys , blk : blk64_t , num : :: std :: os :: raw :: c_int , ret_blk : * mut blk64_t , ret_count : * mut :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_journal_superblock (fs : ext2_filsys , num_blocks : __u32 , flags : :: std :: os :: raw :: c_int , ret_jsb : * mut * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_journal_superblock2 (fs : ext2_filsys , params : * mut ext2fs_journal_params , flags : :: std :: os :: raw :: c_int , ret_jsb : * mut * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_add_journal_device (fs : ext2_filsys , journal_dev : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_add_journal_inode (fs : ext2_filsys , num_blocks : blk_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_add_journal_inode2 (fs : ext2_filsys , num_blocks : blk_t , goal : blk64_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_add_journal_inode3 (fs : ext2_filsys , params : * mut ext2fs_journal_params , goal : blk64_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_default_journal_size (num_blocks : __u64) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_journal_sb_start (blocksize : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_open (name : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , superblock : :: std :: os :: raw :: c_int , block_size : :: std :: os :: raw :: c_uint , manager : io_manager , ret_fs : * mut ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_open2 (name : * const :: std :: os :: raw :: c_char , io_options : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , superblock : :: std :: os :: raw :: c_int , block_size : :: std :: os :: raw :: c_uint , manager : io_manager , ret_fs : * mut ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_descriptor_block_loc2 (fs : ext2_filsys , group_block : blk64_t , i : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_descriptor_block_loc (fs : ext2_filsys , group_block : blk_t , i : dgrp_t) -> blk_t ; } unsafe extern "C" { pub fn ext2fs_get_data_io (fs : ext2_filsys , old_io : * mut io_channel) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_data_io (fs : ext2_filsys , new_io : io_channel) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_rewrite_to_io (fs : ext2_filsys , new_io : io_channel) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_orphan_file (fs : ext2_filsys , num_blocks : blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_truncate_orphan_file (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_default_orphan_file_blocks (fs : ext2_filsys) -> e2_blkcnt_t ; } unsafe extern "C" { pub fn ext2fs_do_orphan_file_block_csum (fs : ext2_filsys , ino : ext2_ino_t , r#gen : __u32 , blk : blk64_t , buf : * mut :: std :: os :: raw :: c_char) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_orphan_file_block_csum_set (fs : ext2_filsys , ino : ext2_ino_t , blk : blk64_t , buf : * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_orphan_file_block_csum_verify (fs : ext2_filsys , ino : ext2_ino_t , blk : blk64_t , buf : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_get_pathname (fs : ext2_filsys , dir : ext2_ino_t , ino : ext2_ino_t , name : * mut * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_link (fs : ext2_filsys , dir : ext2_ino_t , name : * const :: std :: os :: raw :: c_char , ino : ext2_ino_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_unlink (fs : ext2_filsys , dir : ext2_ino_t , name : * const :: std :: os :: raw :: c_char , ino : ext2_ino_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_symlink (fs : ext2_filsys , parent : ext2_ino_t , ino : ext2_ino_t , name : * const :: std :: os :: raw :: c_char , target : * const :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_is_fast_symlink (inode : * mut ext2_inode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mmp_read (fs : ext2_filsys , mmp_blk : blk64_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_write (fs : ext2_filsys , mmp_blk : blk64_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_clear (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_init (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_start (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_update (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_update2 (fs : ext2_filsys , immediately : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_stop (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_new_seq () -> :: std :: os :: raw :: c_uint ; } unsafe extern "C" { pub fn ext2fs_read_bb_inode (fs : ext2_filsys , bb_list : * mut ext2_badblocks_list) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_bb_FILE2 (fs : ext2_filsys , f : * mut FILE , bb_list : * mut ext2_badblocks_list , priv_data : * mut :: std :: os :: raw :: c_void , invalid : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk_t , badstr : * mut :: std :: os :: raw :: c_char , priv_data : * mut :: std :: os :: raw :: c_void) >) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_bb_FILE (fs : ext2_filsys , f : * mut FILE , bb_list : * mut ext2_badblocks_list , invalid : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk_t) >) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_resize_inode (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_rw_bitmaps (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , num_threads : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_bitmaps (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_inode_bitmap (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_block_bitmap (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_bitmaps (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_inode_bitmap (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_block_bitmap (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_sha512 (in_ : * const :: std :: os :: raw :: c_uchar , in_size : :: std :: os :: raw :: c_ulong , out : * mut :: std :: os :: raw :: c_uchar) ; } unsafe extern "C" { pub fn ext2fs_dirent_swab_in2 (fs : ext2_filsys , buf : * mut :: std :: os :: raw :: c_char , size : usize , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dirent_swab_in (fs : ext2_filsys , buf : * mut :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dirent_swab_out2 (fs : ext2_filsys , buf : * mut :: std :: os :: raw :: c_char , size : usize , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dirent_swab_out (fs : ext2_filsys , buf : * mut :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_swap_ext_attr (to : * mut :: std :: os :: raw :: c_char , from : * mut :: std :: os :: raw :: c_char , bufsize : :: std :: os :: raw :: c_int , has_header : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_swap_ext_attr_header (to_header : * mut ext2_ext_attr_header , from_hdr : * mut ext2_ext_attr_header) ; } unsafe extern "C" { pub fn ext2fs_swap_ext_attr_entry (to_entry : * mut ext2_ext_attr_entry , from_entry : * mut ext2_ext_attr_entry) ; } unsafe extern "C" { pub fn ext2fs_swap_super (super_ : * mut ext2_super_block) ; } unsafe extern "C" { pub fn ext2fs_swap_group_desc (gdp : * mut ext2_group_desc) ; } unsafe extern "C" { pub fn ext2fs_swap_group_desc2 (arg1 : ext2_filsys , gdp : * mut ext2_group_desc) ; } unsafe extern "C" { pub fn ext2fs_swap_inode_full (fs : ext2_filsys , t : * mut ext2_inode_large , f : * mut ext2_inode_large , hostorder : :: std :: os :: raw :: c_int , bufsize : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_swap_inode (fs : ext2_filsys , t : * mut ext2_inode , f : * mut ext2_inode , hostorder : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_swap_mmp (mmp : * mut mmp_struct) ; } unsafe extern "C" { pub fn ext2fs_open_file (pathname : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , mode : mode_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_stat (path : * const :: std :: os :: raw :: c_char , buf : * mut ext2fs_struct_stat) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_fstat (fd : :: std :: os :: raw :: c_int , buf : * mut ext2fs_struct_stat) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_inode_has_valid_blocks (inode : * mut ext2_inode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_inode_has_valid_blocks2 (fs : ext2_filsys , inode : * mut ext2_inode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_parse_version_string (ver_string : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_get_library_version (ver_string : * mut * const :: std :: os :: raw :: c_char , date_string : * mut * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_write_bb_FILE (bb_list : ext2_badblocks_list , flags : :: std :: os :: raw :: c_uint , f : * mut FILE) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_mem (size : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_memzero (size : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_array (count : :: std :: os :: raw :: c_ulong , size : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_arrayzero (count : :: std :: os :: raw :: c_ulong , size : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free_mem (ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_resize_mem (old_size : :: std :: os :: raw :: c_ulong , size : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_resize_array (old_count : :: std :: os :: raw :: c_ulong , count : :: std :: os :: raw :: c_ulong , size : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mark_super_dirty (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_mark_changed (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_test_changed (fs : ext2_filsys) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mark_valid (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_unmark_valid (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_test_valid (fs : ext2_filsys) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mark_ib_dirty (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_mark_bb_dirty (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_test_ib_dirty (fs : ext2_filsys) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_bb_dirty (fs : ext2_filsys) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_group_of_blk (fs : ext2_filsys , blk : blk_t) -> dgrp_t ; } unsafe extern "C" { pub fn ext2fs_group_of_ino (fs : ext2_filsys , ino : ext2_ino_t) -> dgrp_t ; } unsafe extern "C" { pub fn ext2fs_group_first_block (fs : ext2_filsys , group : dgrp_t) -> blk_t ; } unsafe extern "C" { pub fn ext2fs_group_last_block (fs : ext2_filsys , group : dgrp_t) -> blk_t ; } unsafe extern "C" { pub fn ext2fs_inode_data_blocks (fs : ext2_filsys , inode : * mut ext2_inode) -> blk_t ; } unsafe extern "C" { pub fn ext2fs_htree_intnode_maxrecs (fs : ext2_filsys , blocks : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_div_ceil (a : :: std :: os :: raw :: c_uint , b : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_uint ; } unsafe extern "C" { pub fn ext2fs_div64_ceil (a : __u64 , b : __u64) -> __u64 ; } unsafe extern "C" { pub fn ext2fs_dirent_name_len (entry : * const ext2_dir_entry) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_dirent_set_name_len (entry : * mut ext2_dir_entry , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_dirent_file_type (entry : * const ext2_dir_entry) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_dirent_set_file_type (entry : * mut ext2_dir_entry , type_ : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_inode (large_inode : * mut ext2_inode_large) -> * mut ext2_inode ; } unsafe extern "C" { pub fn ext2fs_const_inode (large_inode : * const ext2_inode_large) -> * const ext2_inode ; } unsafe extern "C" { pub fn ext2fs_inodes_per_orphan_block (fs : ext2_filsys) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_orphan_block_tail (fs : ext2_filsys , buf : * mut :: std :: os :: raw :: c_char) -> * mut ext4_orphan_block_tail ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_image_hdr { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode_cache { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_progress_ops { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_nls_table { pub _address : u8 , }
[INFO] [stdout]   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/afsr-c4372b8b082be16d/out/bindings.rs:3:196317
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...m (fs : ext2_filsys , ino : ext2_ino_t , gen : __u32 , blk : blk64_t , buf : * mut :: std :: os :: raw :: c_char) -> __u32 ; } uns...
[INFO] [stdout]   |                                             ^^^ expected identifier, found reserved keyword
[INFO] [stdout]   |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const EXT2_DEFAULT_PREALLOC_BLOCKS : u32 = 8 ; pub const EXT2_BAD_INO : u32 = 1 ; pub const EXT2_ROOT_INO : u32 = 2 ; pub const EXT4_USR_QUOTA_INO : u32 = 3 ; pub const EXT4_GRP_QUOTA_INO : u32 = 4 ; pub const EXT2_BOOT_LOADER_INO : u32 = 5 ; pub const EXT2_UNDEL_DIR_INO : u32 = 6 ; pub const EXT2_RESIZE_INO : u32 = 7 ; pub const EXT2_JOURNAL_INO : u32 = 8 ; pub const EXT2_EXCLUDE_INO : u32 = 9 ; pub const EXT4_REPLICA_INO : u32 = 10 ; pub const EXT2_GOOD_OLD_FIRST_INO : u32 = 11 ; pub const EXT2_SUPER_MAGIC : u32 = 61267 ; pub const EXT2_LINK_MAX : u32 = 65000 ; pub const EXT2_MIN_BLOCK_LOG_SIZE : u32 = 10 ; pub const EXT2_MAX_BLOCK_LOG_SIZE : u32 = 16 ; pub const EXT2_MIN_BLOCK_SIZE : u32 = 1024 ; pub const EXT2_MAX_BLOCK_SIZE : u32 = 65536 ; pub const EXT2_MIN_CLUSTER_LOG_SIZE : u32 = 10 ; pub const EXT2_MAX_CLUSTER_LOG_SIZE : u32 = 29 ; pub const EXT2_MIN_CLUSTER_SIZE : u32 = 1024 ; pub const EXT2_MAX_CLUSTER_SIZE : u32 = 536870912 ; pub const EXT2_MIN_FRAG_SIZE : u32 = 1024 ; pub const EXT2_MAX_FRAG_SIZE : u32 = 65536 ; pub const EXT2_MIN_FRAG_LOG_SIZE : u32 = 10 ; pub const EXT2_BG_INODE_UNINIT : u32 = 1 ; pub const EXT2_BG_BLOCK_UNINIT : u32 = 2 ; pub const EXT2_BG_INODE_ZEROED : u32 = 4 ; pub const EXT2_HASH_LEGACY : u32 = 0 ; pub const EXT2_HASH_HALF_MD4 : u32 = 1 ; pub const EXT2_HASH_TEA : u32 = 2 ; pub const EXT2_HASH_LEGACY_UNSIGNED : u32 = 3 ; pub const EXT2_HASH_HALF_MD4_UNSIGNED : u32 = 4 ; pub const EXT2_HASH_TEA_UNSIGNED : u32 = 5 ; pub const EXT2_HASH_SIPHASH : u32 = 6 ; pub const EXT2_HASH_FLAG_INCOMPAT : u32 = 1 ; pub const EXT4_DX_BLOCK_MASK : u32 = 268435455 ; pub const EXT2_MIN_DESC_SIZE : u32 = 32 ; pub const EXT2_MIN_DESC_SIZE_64BIT : u32 = 64 ; pub const EXT2_MAX_DESC_SIZE : u32 = 1024 ; pub const EXT2_NDIR_BLOCKS : u32 = 12 ; pub const EXT2_IND_BLOCK : u32 = 12 ; pub const EXT2_DIND_BLOCK : u32 = 13 ; pub const EXT2_TIND_BLOCK : u32 = 14 ; pub const EXT2_N_BLOCKS : u32 = 15 ; pub const EXT2_SECRM_FL : u32 = 1 ; pub const EXT2_UNRM_FL : u32 = 2 ; pub const EXT2_COMPR_FL : u32 = 4 ; pub const EXT2_SYNC_FL : u32 = 8 ; pub const EXT2_IMMUTABLE_FL : u32 = 16 ; pub const EXT2_APPEND_FL : u32 = 32 ; pub const EXT2_NODUMP_FL : u32 = 64 ; pub const EXT2_NOATIME_FL : u32 = 128 ; pub const EXT2_DIRTY_FL : u32 = 256 ; pub const EXT2_COMPRBLK_FL : u32 = 512 ; pub const EXT2_NOCOMPR_FL : u32 = 1024 ; pub const EXT4_ENCRYPT_FL : u32 = 2048 ; pub const EXT2_BTREE_FL : u32 = 4096 ; pub const EXT2_INDEX_FL : u32 = 4096 ; pub const EXT2_IMAGIC_FL : u32 = 8192 ; pub const EXT3_JOURNAL_DATA_FL : u32 = 16384 ; pub const EXT2_NOTAIL_FL : u32 = 32768 ; pub const EXT2_DIRSYNC_FL : u32 = 65536 ; pub const EXT2_TOPDIR_FL : u32 = 131072 ; pub const EXT4_HUGE_FILE_FL : u32 = 262144 ; pub const EXT4_EXTENTS_FL : u32 = 524288 ; pub const EXT4_VERITY_FL : u32 = 1048576 ; pub const EXT4_EA_INODE_FL : u32 = 2097152 ; pub const EXT4_SNAPFILE_FL : u32 = 16777216 ; pub const EXT4_SNAPFILE_DELETED_FL : u32 = 67108864 ; pub const EXT4_SNAPFILE_SHRUNK_FL : u32 = 134217728 ; pub const EXT4_INLINE_DATA_FL : u32 = 268435456 ; pub const EXT4_PROJINHERIT_FL : u32 = 536870912 ; pub const EXT4_CASEFOLD_FL : u32 = 1073741824 ; pub const EXT2_RESERVED_FL : u32 = 2147483648 ; pub const EXT2_FL_USER_VISIBLE : u32 = 1615585279 ; pub const EXT2_FL_USER_MODIFIABLE : u32 = 1615560959 ; pub const EXT4_EPOCH_BITS : u32 = 2 ; pub const EXT4_EPOCH_MASK : u32 = 3 ; pub const EXT2_VALID_FS : u32 = 1 ; pub const EXT2_ERROR_FS : u32 = 2 ; pub const EXT3_ORPHAN_FS : u32 = 4 ; pub const EXT4_FC_REPLAY : u32 = 32 ; pub const EXT2_FLAGS_SIGNED_HASH : u32 = 1 ; pub const EXT2_FLAGS_UNSIGNED_HASH : u32 = 2 ; pub const EXT2_FLAGS_TEST_FILESYS : u32 = 4 ; pub const EXT2_FLAGS_IS_SNAPSHOT : u32 = 16 ; pub const EXT2_FLAGS_FIX_SNAPSHOT : u32 = 32 ; pub const EXT2_FLAGS_FIX_EXCLUDE : u32 = 64 ; pub const EXT2_MOUNT_CHECK : u32 = 1 ; pub const EXT2_MOUNT_GRPID : u32 = 4 ; pub const EXT2_MOUNT_DEBUG : u32 = 8 ; pub const EXT2_MOUNT_ERRORS_CONT : u32 = 16 ; pub const EXT2_MOUNT_ERRORS_RO : u32 = 32 ; pub const EXT2_MOUNT_ERRORS_PANIC : u32 = 64 ; pub const EXT2_MOUNT_MINIX_DF : u32 = 128 ; pub const EXT2_MOUNT_NO_UID32 : u32 = 512 ; pub const EXT2_DFL_MAX_MNT_COUNT : u32 = 20 ; pub const EXT2_DFL_CHECKINTERVAL : u32 = 0 ; pub const EXT2_ERRORS_CONTINUE : u32 = 1 ; pub const EXT2_ERRORS_RO : u32 = 2 ; pub const EXT2_ERRORS_PANIC : u32 = 3 ; pub const EXT2_ERRORS_DEFAULT : u32 = 1 ; pub const EXT2_CRC32C_CHKSUM : u32 = 1 ; pub const EXT4_ENCRYPTION_MODE_INVALID : u32 = 0 ; pub const EXT4_ENCRYPTION_MODE_AES_256_XTS : u32 = 1 ; pub const EXT4_ENCRYPTION_MODE_AES_256_GCM : u32 = 2 ; pub const EXT4_ENCRYPTION_MODE_AES_256_CBC : u32 = 3 ; pub const EXT4_ENCRYPTION_MODE_AES_256_CTS : u32 = 4 ; pub const EXT4_AES_256_XTS_KEY_SIZE : u32 = 64 ; pub const EXT4_AES_256_GCM_KEY_SIZE : u32 = 32 ; pub const EXT4_AES_256_CBC_KEY_SIZE : u32 = 32 ; pub const EXT4_AES_256_CTS_KEY_SIZE : u32 = 32 ; pub const EXT4_MAX_KEY_SIZE : u32 = 64 ; pub const EXT4_KEY_DESCRIPTOR_SIZE : u32 = 8 ; pub const EXT4_CRYPTO_BLOCK_SIZE : u32 = 16 ; pub const EXT4_MAX_PASSPHRASE_SIZE : u32 = 1024 ; pub const EXT4_MAX_SALT_SIZE : u32 = 256 ; pub const EXT4_PBKDF2_ITERATIONS : u32 = 65535 ; pub const EXT2_LABEL_LEN : u32 = 16 ; pub const EXT2_OS_LINUX : u32 = 0 ; pub const EXT2_OS_HURD : u32 = 1 ; pub const EXT2_OBSO_OS_MASIX : u32 = 2 ; pub const EXT2_OS_FREEBSD : u32 = 3 ; pub const EXT2_OS_LITES : u32 = 4 ; pub const EXT2_GOOD_OLD_REV : u32 = 0 ; pub const EXT2_DYNAMIC_REV : u32 = 1 ; pub const EXT2_CURRENT_REV : u32 = 0 ; pub const EXT2_MAX_SUPP_REV : u32 = 1 ; pub const EXT2_GOOD_OLD_INODE_SIZE : u32 = 128 ; pub const EXT3_JNL_BACKUP_BLOCKS : u32 = 1 ; pub const EXT2_FEATURE_COMPAT_DIR_PREALLOC : u32 = 1 ; pub const EXT2_FEATURE_COMPAT_IMAGIC_INODES : u32 = 2 ; pub const EXT3_FEATURE_COMPAT_HAS_JOURNAL : u32 = 4 ; pub const EXT2_FEATURE_COMPAT_EXT_ATTR : u32 = 8 ; pub const EXT2_FEATURE_COMPAT_RESIZE_INODE : u32 = 16 ; pub const EXT2_FEATURE_COMPAT_DIR_INDEX : u32 = 32 ; pub const EXT2_FEATURE_COMPAT_LAZY_BG : u32 = 64 ; pub const EXT2_FEATURE_COMPAT_EXCLUDE_BITMAP : u32 = 256 ; pub const EXT4_FEATURE_COMPAT_SPARSE_SUPER2 : u32 = 512 ; pub const EXT4_FEATURE_COMPAT_FAST_COMMIT : u32 = 1024 ; pub const EXT4_FEATURE_COMPAT_STABLE_INODES : u32 = 2048 ; pub const EXT4_FEATURE_COMPAT_ORPHAN_FILE : u32 = 4096 ; pub const EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER : u32 = 1 ; pub const EXT2_FEATURE_RO_COMPAT_LARGE_FILE : u32 = 2 ; pub const EXT4_FEATURE_RO_COMPAT_HUGE_FILE : u32 = 8 ; pub const EXT4_FEATURE_RO_COMPAT_GDT_CSUM : u32 = 16 ; pub const EXT4_FEATURE_RO_COMPAT_DIR_NLINK : u32 = 32 ; pub const EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE : u32 = 64 ; pub const EXT4_FEATURE_RO_COMPAT_HAS_SNAPSHOT : u32 = 128 ; pub const EXT4_FEATURE_RO_COMPAT_QUOTA : u32 = 256 ; pub const EXT4_FEATURE_RO_COMPAT_BIGALLOC : u32 = 512 ; pub const EXT4_FEATURE_RO_COMPAT_METADATA_CSUM : u32 = 1024 ; pub const EXT4_FEATURE_RO_COMPAT_REPLICA : u32 = 2048 ; pub const EXT4_FEATURE_RO_COMPAT_READONLY : u32 = 4096 ; pub const EXT4_FEATURE_RO_COMPAT_PROJECT : u32 = 8192 ; pub const EXT4_FEATURE_RO_COMPAT_SHARED_BLOCKS : u32 = 16384 ; pub const EXT4_FEATURE_RO_COMPAT_VERITY : u32 = 32768 ; pub const EXT4_FEATURE_RO_COMPAT_ORPHAN_PRESENT : u32 = 65536 ; pub const EXT2_FEATURE_INCOMPAT_COMPRESSION : u32 = 1 ; pub const EXT2_FEATURE_INCOMPAT_FILETYPE : u32 = 2 ; pub const EXT3_FEATURE_INCOMPAT_RECOVER : u32 = 4 ; pub const EXT3_FEATURE_INCOMPAT_JOURNAL_DEV : u32 = 8 ; pub const EXT2_FEATURE_INCOMPAT_META_BG : u32 = 16 ; pub const EXT3_FEATURE_INCOMPAT_EXTENTS : u32 = 64 ; pub const EXT4_FEATURE_INCOMPAT_64BIT : u32 = 128 ; pub const EXT4_FEATURE_INCOMPAT_MMP : u32 = 256 ; pub const EXT4_FEATURE_INCOMPAT_FLEX_BG : u32 = 512 ; pub const EXT4_FEATURE_INCOMPAT_EA_INODE : u32 = 1024 ; pub const EXT4_FEATURE_INCOMPAT_DIRDATA : u32 = 4096 ; pub const EXT4_FEATURE_INCOMPAT_CSUM_SEED : u32 = 8192 ; pub const EXT4_FEATURE_INCOMPAT_LARGEDIR : u32 = 16384 ; pub const EXT4_FEATURE_INCOMPAT_INLINE_DATA : u32 = 32768 ; pub const EXT4_FEATURE_INCOMPAT_ENCRYPT : u32 = 65536 ; pub const EXT4_FEATURE_INCOMPAT_CASEFOLD : u32 = 131072 ; pub const EXT2_FEATURE_COMPAT_SUPP : u32 = 0 ; pub const EXT2_FEATURE_INCOMPAT_SUPP : u32 = 17666 ; pub const EXT2_DEF_RESUID : u32 = 0 ; pub const EXT2_DEF_RESGID : u32 = 0 ; pub const EXT2_DEFM_DEBUG : u32 = 1 ; pub const EXT2_DEFM_BSDGROUPS : u32 = 2 ; pub const EXT2_DEFM_XATTR_USER : u32 = 4 ; pub const EXT2_DEFM_ACL : u32 = 8 ; pub const EXT2_DEFM_UID16 : u32 = 16 ; pub const EXT3_DEFM_JMODE : u32 = 96 ; pub const EXT3_DEFM_JMODE_DATA : u32 = 32 ; pub const EXT3_DEFM_JMODE_ORDERED : u32 = 64 ; pub const EXT3_DEFM_JMODE_WBACK : u32 = 96 ; pub const EXT4_DEFM_NOBARRIER : u32 = 256 ; pub const EXT4_DEFM_BLOCK_VALIDITY : u32 = 512 ; pub const EXT4_DEFM_DISCARD : u32 = 1024 ; pub const EXT4_DEFM_NODELALLOC : u32 = 2048 ; pub const EXT2_NAME_LEN : u32 = 255 ; pub const EXT2_FT_UNKNOWN : u32 = 0 ; pub const EXT2_FT_REG_FILE : u32 = 1 ; pub const EXT2_FT_DIR : u32 = 2 ; pub const EXT2_FT_CHRDEV : u32 = 3 ; pub const EXT2_FT_BLKDEV : u32 = 4 ; pub const EXT2_FT_FIFO : u32 = 5 ; pub const EXT2_FT_SOCK : u32 = 6 ; pub const EXT2_FT_SYMLINK : u32 = 7 ; pub const EXT2_FT_MAX : u32 = 8 ; pub const EXT2_DIR_NAME_LEN_CSUM : u32 = 56832 ; pub const EXT2_DIR_ENTRY_HEADER_LEN : u32 = 8 ; pub const EXT2_DIR_ENTRY_HASH_LEN : u32 = 8 ; pub const EXT2_DIR_PAD : u32 = 4 ; pub const EXT2_DIR_ROUND : u32 = 3 ; pub const EXT4_ORPHAN_BLOCK_MAGIC : u32 = 185649668 ; pub const EXT4_NSEC_MASK : i32 = - 4 ; pub const EXT4_MMP_MAGIC : u32 = 5066064 ; pub const EXT4_MMP_SEQ_CLEAN : u32 = 4283256144 ; pub const EXT4_MMP_SEQ_FSCK : u32 = 3796716880 ; pub const EXT4_MMP_SEQ_MAX : u32 = 3796716879 ; pub const EXT4_MMP_UPDATE_INTERVAL : u32 = 5 ; pub const EXT4_MMP_MAX_UPDATE_INTERVAL : u32 = 300 ; pub const EXT4_MMP_MIN_CHECK_INTERVAL : u32 = 5 ; pub const EXT4_INLINE_DATA_DOTDOT_SIZE : u32 = 4 ; pub const EXT4_ENC_UTF8_12_1 : u32 = 1 ; pub const EXT4_ENC_STRICT_MODE_FL : u32 = 1 ; pub const EXT2_LIB_CURRENT_REV : u32 = 1 ; pub const EXT3_EXT_MAGIC : u32 = 62218 ; pub const EXT2_ET_BASE : u32 = 2133571328 ; pub const EXT2_ET_MAGIC_EXT2FS_FILSYS : u32 = 2133571329 ; pub const EXT2_ET_MAGIC_BADBLOCKS_LIST : u32 = 2133571330 ; pub const EXT2_ET_MAGIC_BADBLOCKS_ITERATE : u32 = 2133571331 ; pub const EXT2_ET_MAGIC_INODE_SCAN : u32 = 2133571332 ; pub const EXT2_ET_MAGIC_IO_CHANNEL : u32 = 2133571333 ; pub const EXT2_ET_MAGIC_UNIX_IO_CHANNEL : u32 = 2133571334 ; pub const EXT2_ET_MAGIC_IO_MANAGER : u32 = 2133571335 ; pub const EXT2_ET_MAGIC_BLOCK_BITMAP : u32 = 2133571336 ; pub const EXT2_ET_MAGIC_INODE_BITMAP : u32 = 2133571337 ; pub const EXT2_ET_MAGIC_GENERIC_BITMAP : u32 = 2133571338 ; pub const EXT2_ET_MAGIC_TEST_IO_CHANNEL : u32 = 2133571339 ; pub const EXT2_ET_MAGIC_DBLIST : u32 = 2133571340 ; pub const EXT2_ET_MAGIC_ICOUNT : u32 = 2133571341 ; pub const EXT2_ET_MAGIC_PQ_IO_CHANNEL : u32 = 2133571342 ; pub const EXT2_ET_MAGIC_EXT2_FILE : u32 = 2133571343 ; pub const EXT2_ET_MAGIC_E2IMAGE : u32 = 2133571344 ; pub const EXT2_ET_MAGIC_INODE_IO_CHANNEL : u32 = 2133571345 ; pub const EXT2_ET_MAGIC_EXTENT_HANDLE : u32 = 2133571346 ; pub const EXT2_ET_BAD_MAGIC : u32 = 2133571347 ; pub const EXT2_ET_REV_TOO_HIGH : u32 = 2133571348 ; pub const EXT2_ET_RO_FILSYS : u32 = 2133571349 ; pub const EXT2_ET_GDESC_READ : u32 = 2133571350 ; pub const EXT2_ET_GDESC_WRITE : u32 = 2133571351 ; pub const EXT2_ET_GDESC_BAD_BLOCK_MAP : u32 = 2133571352 ; pub const EXT2_ET_GDESC_BAD_INODE_MAP : u32 = 2133571353 ; pub const EXT2_ET_GDESC_BAD_INODE_TABLE : u32 = 2133571354 ; pub const EXT2_ET_INODE_BITMAP_WRITE : u32 = 2133571355 ; pub const EXT2_ET_INODE_BITMAP_READ : u32 = 2133571356 ; pub const EXT2_ET_BLOCK_BITMAP_WRITE : u32 = 2133571357 ; pub const EXT2_ET_BLOCK_BITMAP_READ : u32 = 2133571358 ; pub const EXT2_ET_INODE_TABLE_WRITE : u32 = 2133571359 ; pub const EXT2_ET_INODE_TABLE_READ : u32 = 2133571360 ; pub const EXT2_ET_NEXT_INODE_READ : u32 = 2133571361 ; pub const EXT2_ET_UNEXPECTED_BLOCK_SIZE : u32 = 2133571362 ; pub const EXT2_ET_DIR_CORRUPTED : u32 = 2133571363 ; pub const EXT2_ET_SHORT_READ : u32 = 2133571364 ; pub const EXT2_ET_SHORT_WRITE : u32 = 2133571365 ; pub const EXT2_ET_DIR_NO_SPACE : u32 = 2133571366 ; pub const EXT2_ET_NO_INODE_BITMAP : u32 = 2133571367 ; pub const EXT2_ET_NO_BLOCK_BITMAP : u32 = 2133571368 ; pub const EXT2_ET_BAD_INODE_NUM : u32 = 2133571369 ; pub const EXT2_ET_BAD_BLOCK_NUM : u32 = 2133571370 ; pub const EXT2_ET_EXPAND_DIR_ERR : u32 = 2133571371 ; pub const EXT2_ET_TOOSMALL : u32 = 2133571372 ; pub const EXT2_ET_BAD_BLOCK_MARK : u32 = 2133571373 ; pub const EXT2_ET_BAD_BLOCK_UNMARK : u32 = 2133571374 ; pub const EXT2_ET_BAD_BLOCK_TEST : u32 = 2133571375 ; pub const EXT2_ET_BAD_INODE_MARK : u32 = 2133571376 ; pub const EXT2_ET_BAD_INODE_UNMARK : u32 = 2133571377 ; pub const EXT2_ET_BAD_INODE_TEST : u32 = 2133571378 ; pub const EXT2_ET_FUDGE_BLOCK_BITMAP_END : u32 = 2133571379 ; pub const EXT2_ET_FUDGE_INODE_BITMAP_END : u32 = 2133571380 ; pub const EXT2_ET_BAD_IND_BLOCK : u32 = 2133571381 ; pub const EXT2_ET_BAD_DIND_BLOCK : u32 = 2133571382 ; pub const EXT2_ET_BAD_TIND_BLOCK : u32 = 2133571383 ; pub const EXT2_ET_NEQ_BLOCK_BITMAP : u32 = 2133571384 ; pub const EXT2_ET_NEQ_INODE_BITMAP : u32 = 2133571385 ; pub const EXT2_ET_BAD_DEVICE_NAME : u32 = 2133571386 ; pub const EXT2_ET_MISSING_INODE_TABLE : u32 = 2133571387 ; pub const EXT2_ET_CORRUPT_SUPERBLOCK : u32 = 2133571388 ; pub const EXT2_ET_BAD_GENERIC_MARK : u32 = 2133571389 ; pub const EXT2_ET_BAD_GENERIC_UNMARK : u32 = 2133571390 ; pub const EXT2_ET_BAD_GENERIC_TEST : u32 = 2133571391 ; pub const EXT2_ET_SYMLINK_LOOP : u32 = 2133571392 ; pub const EXT2_ET_CALLBACK_NOTHANDLED : u32 = 2133571393 ; pub const EXT2_ET_BAD_BLOCK_IN_INODE_TABLE : u32 = 2133571394 ; pub const EXT2_ET_UNSUPP_FEATURE : u32 = 2133571395 ; pub const EXT2_ET_RO_UNSUPP_FEATURE : u32 = 2133571396 ; pub const EXT2_ET_LLSEEK_FAILED : u32 = 2133571397 ; pub const EXT2_ET_NO_MEMORY : u32 = 2133571398 ; pub const EXT2_ET_INVALID_ARGUMENT : u32 = 2133571399 ; pub const EXT2_ET_BLOCK_ALLOC_FAIL : u32 = 2133571400 ; pub const EXT2_ET_INODE_ALLOC_FAIL : u32 = 2133571401 ; pub const EXT2_ET_NO_DIRECTORY : u32 = 2133571402 ; pub const EXT2_ET_TOO_MANY_REFS : u32 = 2133571403 ; pub const EXT2_ET_FILE_NOT_FOUND : u32 = 2133571404 ; pub const EXT2_ET_FILE_RO : u32 = 2133571405 ; pub const EXT2_ET_DB_NOT_FOUND : u32 = 2133571406 ; pub const EXT2_ET_DIR_EXISTS : u32 = 2133571407 ; pub const EXT2_ET_UNIMPLEMENTED : u32 = 2133571408 ; pub const EXT2_ET_CANCEL_REQUESTED : u32 = 2133571409 ; pub const EXT2_ET_FILE_TOO_BIG : u32 = 2133571410 ; pub const EXT2_ET_JOURNAL_NOT_BLOCK : u32 = 2133571411 ; pub const EXT2_ET_NO_JOURNAL_SB : u32 = 2133571412 ; pub const EXT2_ET_JOURNAL_TOO_SMALL : u32 = 2133571413 ; pub const EXT2_ET_JOURNAL_UNSUPP_VERSION : u32 = 2133571414 ; pub const EXT2_ET_LOAD_EXT_JOURNAL : u32 = 2133571415 ; pub const EXT2_ET_NO_JOURNAL : u32 = 2133571416 ; pub const EXT2_ET_DIRHASH_UNSUPP : u32 = 2133571417 ; pub const EXT2_ET_BAD_EA_BLOCK_NUM : u32 = 2133571418 ; pub const EXT2_ET_TOO_MANY_INODES : u32 = 2133571419 ; pub const EXT2_ET_NOT_IMAGE_FILE : u32 = 2133571420 ; pub const EXT2_ET_RES_GDT_BLOCKS : u32 = 2133571421 ; pub const EXT2_ET_RESIZE_INODE_CORRUPT : u32 = 2133571422 ; pub const EXT2_ET_SET_BMAP_NO_IND : u32 = 2133571423 ; pub const EXT2_ET_TDB_SUCCESS : u32 = 2133571424 ; pub const EXT2_ET_TDB_ERR_CORRUPT : u32 = 2133571425 ; pub const EXT2_ET_TDB_ERR_IO : u32 = 2133571426 ; pub const EXT2_ET_TDB_ERR_LOCK : u32 = 2133571427 ; pub const EXT2_ET_TDB_ERR_OOM : u32 = 2133571428 ; pub const EXT2_ET_TDB_ERR_EXISTS : u32 = 2133571429 ; pub const EXT2_ET_TDB_ERR_NOLOCK : u32 = 2133571430 ; pub const EXT2_ET_TDB_ERR_EINVAL : u32 = 2133571431 ; pub const EXT2_ET_TDB_ERR_NOEXIST : u32 = 2133571432 ; pub const EXT2_ET_TDB_ERR_RDONLY : u32 = 2133571433 ; pub const EXT2_ET_DBLIST_EMPTY : u32 = 2133571434 ; pub const EXT2_ET_RO_BLOCK_ITERATE : u32 = 2133571435 ; pub const EXT2_ET_MAGIC_EXTENT_PATH : u32 = 2133571436 ; pub const EXT2_ET_MAGIC_GENERIC_BITMAP64 : u32 = 2133571437 ; pub const EXT2_ET_MAGIC_BLOCK_BITMAP64 : u32 = 2133571438 ; pub const EXT2_ET_MAGIC_INODE_BITMAP64 : u32 = 2133571439 ; pub const EXT2_ET_MAGIC_RESERVED_13 : u32 = 2133571440 ; pub const EXT2_ET_MAGIC_RESERVED_14 : u32 = 2133571441 ; pub const EXT2_ET_MAGIC_RESERVED_15 : u32 = 2133571442 ; pub const EXT2_ET_MAGIC_RESERVED_16 : u32 = 2133571443 ; pub const EXT2_ET_MAGIC_RESERVED_17 : u32 = 2133571444 ; pub const EXT2_ET_MAGIC_RESERVED_18 : u32 = 2133571445 ; pub const EXT2_ET_MAGIC_RESERVED_19 : u32 = 2133571446 ; pub const EXT2_ET_EXTENT_HEADER_BAD : u32 = 2133571447 ; pub const EXT2_ET_EXTENT_INDEX_BAD : u32 = 2133571448 ; pub const EXT2_ET_EXTENT_LEAF_BAD : u32 = 2133571449 ; pub const EXT2_ET_EXTENT_NO_SPACE : u32 = 2133571450 ; pub const EXT2_ET_INODE_NOT_EXTENT : u32 = 2133571451 ; pub const EXT2_ET_EXTENT_NO_NEXT : u32 = 2133571452 ; pub const EXT2_ET_EXTENT_NO_PREV : u32 = 2133571453 ; pub const EXT2_ET_EXTENT_NO_UP : u32 = 2133571454 ; pub const EXT2_ET_EXTENT_NO_DOWN : u32 = 2133571455 ; pub const EXT2_ET_NO_CURRENT_NODE : u32 = 2133571456 ; pub const EXT2_ET_OP_NOT_SUPPORTED : u32 = 2133571457 ; pub const EXT2_ET_CANT_INSERT_EXTENT : u32 = 2133571458 ; pub const EXT2_ET_CANT_SPLIT_EXTENT : u32 = 2133571459 ; pub const EXT2_ET_EXTENT_NOT_FOUND : u32 = 2133571460 ; pub const EXT2_ET_EXTENT_NOT_SUPPORTED : u32 = 2133571461 ; pub const EXT2_ET_EXTENT_INVALID_LENGTH : u32 = 2133571462 ; pub const EXT2_ET_IO_CHANNEL_NO_SUPPORT_64 : u32 = 2133571463 ; pub const EXT2_ET_NO_MTAB_FILE : u32 = 2133571464 ; pub const EXT2_ET_CANT_USE_LEGACY_BITMAPS : u32 = 2133571465 ; pub const EXT2_ET_MMP_MAGIC_INVALID : u32 = 2133571466 ; pub const EXT2_ET_MMP_FAILED : u32 = 2133571467 ; pub const EXT2_ET_MMP_FSCK_ON : u32 = 2133571468 ; pub const EXT2_ET_MMP_BAD_BLOCK : u32 = 2133571469 ; pub const EXT2_ET_MMP_UNKNOWN_SEQ : u32 = 2133571470 ; pub const EXT2_ET_MMP_CHANGE_ABORT : u32 = 2133571471 ; pub const EXT2_ET_MMP_OPEN_DIRECT : u32 = 2133571472 ; pub const EXT2_ET_BAD_DESC_SIZE : u32 = 2133571473 ; pub const EXT2_ET_INODE_CSUM_INVALID : u32 = 2133571474 ; pub const EXT2_ET_INODE_BITMAP_CSUM_INVALID : u32 = 2133571475 ; pub const EXT2_ET_EXTENT_CSUM_INVALID : u32 = 2133571476 ; pub const EXT2_ET_DIR_NO_SPACE_FOR_CSUM : u32 = 2133571477 ; pub const EXT2_ET_DIR_CSUM_INVALID : u32 = 2133571478 ; pub const EXT2_ET_EXT_ATTR_CSUM_INVALID : u32 = 2133571479 ; pub const EXT2_ET_SB_CSUM_INVALID : u32 = 2133571480 ; pub const EXT2_ET_UNKNOWN_CSUM : u32 = 2133571481 ; pub const EXT2_ET_MMP_CSUM_INVALID : u32 = 2133571482 ; pub const EXT2_ET_FILE_EXISTS : u32 = 2133571483 ; pub const EXT2_ET_BLOCK_BITMAP_CSUM_INVALID : u32 = 2133571484 ; pub const EXT2_ET_INLINE_DATA_CANT_ITERATE : u32 = 2133571485 ; pub const EXT2_ET_EA_BAD_NAME_LEN : u32 = 2133571486 ; pub const EXT2_ET_EA_BAD_VALUE_SIZE : u32 = 2133571487 ; pub const EXT2_ET_BAD_EA_HASH : u32 = 2133571488 ; pub const EXT2_ET_BAD_EA_HEADER : u32 = 2133571489 ; pub const EXT2_ET_EA_KEY_NOT_FOUND : u32 = 2133571490 ; pub const EXT2_ET_EA_NO_SPACE : u32 = 2133571491 ; pub const EXT2_ET_MISSING_EA_FEATURE : u32 = 2133571492 ; pub const EXT2_ET_NO_INLINE_DATA : u32 = 2133571493 ; pub const EXT2_ET_INLINE_DATA_NO_BLOCK : u32 = 2133571494 ; pub const EXT2_ET_INLINE_DATA_NO_SPACE : u32 = 2133571495 ; pub const EXT2_ET_MAGIC_EA_HANDLE : u32 = 2133571496 ; pub const EXT2_ET_INODE_IS_GARBAGE : u32 = 2133571497 ; pub const EXT2_ET_EA_BAD_VALUE_OFFSET : u32 = 2133571498 ; pub const EXT2_ET_JOURNAL_FLAGS_WRONG : u32 = 2133571499 ; pub const EXT2_ET_UNDO_FILE_CORRUPT : u32 = 2133571500 ; pub const EXT2_ET_UNDO_FILE_WRONG : u32 = 2133571501 ; pub const EXT2_ET_FILESYSTEM_CORRUPTED : u32 = 2133571502 ; pub const EXT2_ET_BAD_CRC : u32 = 2133571503 ; pub const EXT2_ET_CORRUPT_JOURNAL_SB : u32 = 2133571504 ; pub const EXT2_ET_INODE_CORRUPTED : u32 = 2133571505 ; pub const EXT2_ET_EA_INODE_CORRUPTED : u32 = 2133571506 ; pub const EXT2_ET_NO_GDESC : u32 = 2133571507 ; pub const EXT2_FILSYS_CORRUPTED : u32 = 2133571508 ; pub const EXT2_ET_EXTENT_CYCLE : u32 = 2133571509 ; pub const EXT2_ET_EXTERNAL_JOURNAL_NOSUPP : u32 = 2133571510 ; pub const EXT2_EXT_ATTR_MAGIC_v1 : u32 = 3925934080 ; pub const EXT2_EXT_ATTR_MAGIC : u32 = 3925999616 ; pub const EXT2_EXT_ATTR_REFCOUNT_MAX : u32 = 1024 ; pub const EXT2_EXT_ATTR_PAD_BITS : u32 = 2 ; pub const EXT2_XATTR_SIZE_MAX : u32 = 16777216 ; pub const EXT2_FILE_WRITE : u32 = 1 ; pub const EXT2_FILE_CREATE : u32 = 2 ; pub const EXT2_FILE_MASK : u32 = 255 ; pub const EXT2_FILE_BUF_DIRTY : u32 = 16384 ; pub const EXT2_FILE_BUF_VALID : u32 = 8192 ; pub const EXT2_SEEK_SET : u32 = 0 ; pub const EXT2_SEEK_CUR : u32 = 1 ; pub const EXT2_SEEK_END : u32 = 2 ; pub const EXT2_FLAG_RW : u32 = 1 ; pub const EXT2_FLAG_CHANGED : u32 = 2 ; pub const EXT2_FLAG_DIRTY : u32 = 4 ; pub const EXT2_FLAG_VALID : u32 = 8 ; pub const EXT2_FLAG_IB_DIRTY : u32 = 16 ; pub const EXT2_FLAG_BB_DIRTY : u32 = 32 ; pub const EXT2_FLAG_SWAP_BYTES : u32 = 64 ; pub const EXT2_FLAG_SWAP_BYTES_READ : u32 = 128 ; pub const EXT2_FLAG_SWAP_BYTES_WRITE : u32 = 256 ; pub const EXT2_FLAG_MASTER_SB_ONLY : u32 = 512 ; pub const EXT2_FLAG_FORCE : u32 = 1024 ; pub const EXT2_FLAG_SUPER_ONLY : u32 = 2048 ; pub const EXT2_FLAG_JOURNAL_DEV_OK : u32 = 4096 ; pub const EXT2_FLAG_IMAGE_FILE : u32 = 8192 ; pub const EXT2_FLAG_EXCLUSIVE : u32 = 16384 ; pub const EXT2_FLAG_SOFTSUPP_FEATURES : u32 = 32768 ; pub const EXT2_FLAG_NOFREE_ON_ERROR : u32 = 65536 ; pub const EXT2_FLAG_64BITS : u32 = 131072 ; pub const EXT2_FLAG_PRINT_PROGRESS : u32 = 262144 ; pub const EXT2_FLAG_DIRECT_IO : u32 = 524288 ; pub const EXT2_FLAG_SKIP_MMP : u32 = 1048576 ; pub const EXT2_FLAG_IGNORE_CSUM_ERRORS : u32 = 2097152 ; pub const EXT2_FLAG_SHARE_DUP : u32 = 4194304 ; pub const EXT2_FLAG_IGNORE_SB_ERRORS : u32 = 8388608 ; pub const EXT2_FLAG_BBITMAP_TAIL_PROBLEM : u32 = 16777216 ; pub const EXT2_FLAG_IBITMAP_TAIL_PROBLEM : u32 = 33554432 ; pub const EXT2_FLAG_THREADS : u32 = 67108864 ; pub const EXT2_FLAG_IGNORE_SWAP_DIRENT : u32 = 134217728 ; pub const EXT2_NEW_INODE_FL : u32 = 2147483648 ; pub const EXT2_MKJOURNAL_V1_SUPER : u32 = 1 ; pub const EXT2_MKJOURNAL_LAZYINIT : u32 = 2 ; pub const EXT2_MKJOURNAL_NO_MNT_CHECK : u32 = 4 ; pub const EXT2_JOURNAL_TO_FC_BLKS_RATIO : u32 = 64 ; pub const EXT2_EXTENT_FLAGS_LEAF : u32 = 1 ; pub const EXT2_EXTENT_FLAGS_UNINIT : u32 = 2 ; pub const EXT2_EXTENT_FLAGS_SECOND_VISIT : u32 = 4 ; pub const EXT2_EXTENT_CURRENT : u32 = 0 ; pub const EXT2_EXTENT_MOVE_MASK : u32 = 15 ; pub const EXT2_EXTENT_ROOT : u32 = 1 ; pub const EXT2_EXTENT_LAST_LEAF : u32 = 2 ; pub const EXT2_EXTENT_FIRST_SIB : u32 = 3 ; pub const EXT2_EXTENT_LAST_SIB : u32 = 4 ; pub const EXT2_EXTENT_NEXT_SIB : u32 = 5 ; pub const EXT2_EXTENT_PREV_SIB : u32 = 6 ; pub const EXT2_EXTENT_NEXT_LEAF : u32 = 7 ; pub const EXT2_EXTENT_PREV_LEAF : u32 = 8 ; pub const EXT2_EXTENT_NEXT : u32 = 9 ; pub const EXT2_EXTENT_PREV : u32 = 10 ; pub const EXT2_EXTENT_UP : u32 = 11 ; pub const EXT2_EXTENT_DOWN : u32 = 12 ; pub const EXT2_EXTENT_DOWN_AND_LAST : u32 = 13 ; pub const EXT2_EXTENT_INSERT_AFTER : u32 = 1 ; pub const EXT2_EXTENT_INSERT_NOSPLIT : u32 = 2 ; pub const EXT2_EXTENT_DELETE_KEEP_EMPTY : u32 = 1 ; pub const EXT2_EXTENT_SET_BMAP_UNINIT : u32 = 1 ; pub const EXT2_DIRBLOCK_V2_STRUCT : u32 = 1 ; pub const EXT2_SF_CHK_BADBLOCKS : u32 = 1 ; pub const EXT2_SF_BAD_INODE_BLK : u32 = 2 ; pub const EXT2_SF_BAD_EXTRA_BYTES : u32 = 4 ; pub const EXT2_SF_SKIP_MISSING_ITABLE : u32 = 8 ; pub const EXT2_SF_DO_LAZY : u32 = 16 ; pub const EXT2_SF_WARN_GARBAGE_INODES : u32 = 32 ; pub const EXT2_MF_MOUNTED : u32 = 1 ; pub const EXT2_MF_ISROOT : u32 = 2 ; pub const EXT2_MF_READONLY : u32 = 4 ; pub const EXT2_MF_SWAP : u32 = 8 ; pub const EXT2_MF_BUSY : u32 = 16 ; pub const EXT2_MF_EXTFS : u32 = 32 ; pub const LINUX_S_IFMT : u32 = 61440 ; pub const LINUX_S_IFSOCK : u32 = 49152 ; pub const LINUX_S_IFLNK : u32 = 40960 ; pub const LINUX_S_IFREG : u32 = 32768 ; pub const LINUX_S_IFBLK : u32 = 24576 ; pub const LINUX_S_IFDIR : u32 = 16384 ; pub const LINUX_S_IFCHR : u32 = 8192 ; pub const LINUX_S_IFIFO : u32 = 4096 ; pub const LINUX_S_ISUID : u32 = 2048 ; pub const LINUX_S_ISGID : u32 = 1024 ; pub const LINUX_S_ISVTX : u32 = 512 ; pub const LINUX_S_IRWXU : u32 = 448 ; pub const LINUX_S_IRUSR : u32 = 256 ; pub const LINUX_S_IWUSR : u32 = 128 ; pub const LINUX_S_IXUSR : u32 = 64 ; pub const LINUX_S_IRWXG : u32 = 56 ; pub const LINUX_S_IRGRP : u32 = 32 ; pub const LINUX_S_IWGRP : u32 = 16 ; pub const LINUX_S_IXGRP : u32 = 8 ; pub const LINUX_S_IRWXO : u32 = 7 ; pub const LINUX_S_IROTH : u32 = 4 ; pub const LINUX_S_IWOTH : u32 = 2 ; pub const LINUX_S_IXOTH : u32 = 1 ; pub const EXT2_ICOUNT_OPT_INCREMENT : u32 = 1 ; pub const EXT2_ICOUNT_OPT_FULLMAP : u32 = 2 ; pub const EXT2_LIB_FEATURE_COMPAT_SUPP : u32 = 7743 ; pub const EXT4_LIB_INCOMPAT_MMP : u32 = 0 ; pub const EXT2_LIB_FEATURE_INCOMPAT_SUPP : u32 = 255710 ; pub const EXT2_LIB_FEATURE_RO_COMPAT_SUPP : u32 = 128891 ; pub const EXT2_LIB_SOFTSUPP_INCOMPAT : u32 = 0 ; pub const EXT2_LIB_SOFTSUPP_RO_COMPAT : u32 = 2048 ; pub const EXT2_FLAG_FLUSH_NO_SYNC : u32 = 1 ; pub const EXT2_NEWRANGE_FIXED_GOAL : u32 = 1 ; pub const EXT2_NEWRANGE_MIN_LENGTH : u32 = 2 ; pub const EXT2_NEWRANGE_ALL_FLAGS : u32 = 3 ; pub const EXT2_ALLOCRANGE_FIXED_GOAL : u32 = 1 ; pub const EXT2_ALLOCRANGE_ZERO_BLOCKS : u32 = 2 ; pub const EXT2_ALLOCRANGE_ALL_FLAGS : u32 = 3 ; pub const EXT2_FALLOCATE_ZERO_BLOCKS : u32 = 1 ; pub const EXT2_FALLOCATE_FORCE_INIT : u32 = 2 ; pub const EXT2_FALLOCATE_FORCE_UNINIT : u32 = 4 ; pub const EXT2_FALLOCATE_INIT_BEYOND_EOF : u32 = 8 ; pub const EXT2_FALLOCATE_ALL_FLAGS : u32 = 15 ; pub const EXT2_INODE_SCAN_DEFAULT_BUFFER_BLOCKS : u32 = 8 ; pub const EXT4_HTREE_LEVEL_COMPAT : u32 = 2 ; pub const EXT4_HTREE_LEVEL : u32 = 3 ; pub type errcode_t = :: std :: os :: raw :: c_long ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct error_table { pub msgs : * const * const :: std :: os :: raw :: c_char , pub base : :: std :: os :: raw :: c_long , pub n_msgs : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of error_table"] [:: std :: mem :: size_of :: < error_table > () - 24usize] ; ["Alignment of error_table"] [:: std :: mem :: align_of :: < error_table > () - 8usize] ; ["Offset of field: error_table::msgs"] [:: std :: mem :: offset_of ! (error_table , msgs) - 0usize] ; ["Offset of field: error_table::base"] [:: std :: mem :: offset_of ! (error_table , base) - 8usize] ; ["Offset of field: error_table::n_msgs"] [:: std :: mem :: offset_of ! (error_table , n_msgs) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct et_list { _unused : [u8 ; 0] , } unsafe extern "C" { pub fn error_message (arg1 : :: std :: os :: raw :: c_long) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn init_error_table (msgs : * const * const :: std :: os :: raw :: c_char , base : :: std :: os :: raw :: c_long , count : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn add_error_table (et : * const error_table) -> errcode_t ; } unsafe extern "C" { pub fn remove_error_table (et : * const error_table) -> errcode_t ; } unsafe extern "C" { pub fn add_to_error_table (new_table : * mut et_list) ; } unsafe extern "C" { pub fn free_error_table (et : * mut et_list) ; } pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type dev_t = __dev_t ; pub type mode_t = __mode_t ; pub type time_t = __time_t ; pub type FILE = _IO_FILE ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_marker { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_codecvt { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_wide_data { _unused : [u8 ; 0] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [:: std :: os :: raw :: c_char ; 1usize] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub _codecvt : * mut _IO_codecvt , pub _wide_data : * mut _IO_wide_data , pub _freeres_list : * mut _IO_FILE , pub _freeres_buf : * mut :: std :: os :: raw :: c_void , pub __pad5 : usize , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [:: std :: os :: raw :: c_char ; 20usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of _IO_FILE"] [:: std :: mem :: size_of :: < _IO_FILE > () - 216usize] ; ["Alignment of _IO_FILE"] [:: std :: mem :: align_of :: < _IO_FILE > () - 8usize] ; ["Offset of field: _IO_FILE::_flags"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags) - 0usize] ; ["Offset of field: _IO_FILE::_IO_read_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_ptr) - 8usize] ; ["Offset of field: _IO_FILE::_IO_read_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_end) - 16usize] ; ["Offset of field: _IO_FILE::_IO_read_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_read_base) - 24usize] ; ["Offset of field: _IO_FILE::_IO_write_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_base) - 32usize] ; ["Offset of field: _IO_FILE::_IO_write_ptr"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_ptr) - 40usize] ; ["Offset of field: _IO_FILE::_IO_write_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_write_end) - 48usize] ; ["Offset of field: _IO_FILE::_IO_buf_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_base) - 56usize] ; ["Offset of field: _IO_FILE::_IO_buf_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_buf_end) - 64usize] ; ["Offset of field: _IO_FILE::_IO_save_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_base) - 72usize] ; ["Offset of field: _IO_FILE::_IO_backup_base"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_backup_base) - 80usize] ; ["Offset of field: _IO_FILE::_IO_save_end"] [:: std :: mem :: offset_of ! (_IO_FILE , _IO_save_end) - 88usize] ; ["Offset of field: _IO_FILE::_markers"] [:: std :: mem :: offset_of ! (_IO_FILE , _markers) - 96usize] ; ["Offset of field: _IO_FILE::_chain"] [:: std :: mem :: offset_of ! (_IO_FILE , _chain) - 104usize] ; ["Offset of field: _IO_FILE::_fileno"] [:: std :: mem :: offset_of ! (_IO_FILE , _fileno) - 112usize] ; ["Offset of field: _IO_FILE::_flags2"] [:: std :: mem :: offset_of ! (_IO_FILE , _flags2) - 116usize] ; ["Offset of field: _IO_FILE::_old_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _old_offset) - 120usize] ; ["Offset of field: _IO_FILE::_cur_column"] [:: std :: mem :: offset_of ! (_IO_FILE , _cur_column) - 128usize] ; ["Offset of field: _IO_FILE::_vtable_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _vtable_offset) - 130usize] ; ["Offset of field: _IO_FILE::_shortbuf"] [:: std :: mem :: offset_of ! (_IO_FILE , _shortbuf) - 131usize] ; ["Offset of field: _IO_FILE::_lock"] [:: std :: mem :: offset_of ! (_IO_FILE , _lock) - 136usize] ; ["Offset of field: _IO_FILE::_offset"] [:: std :: mem :: offset_of ! (_IO_FILE , _offset) - 144usize] ; ["Offset of field: _IO_FILE::_codecvt"] [:: std :: mem :: offset_of ! (_IO_FILE , _codecvt) - 152usize] ; ["Offset of field: _IO_FILE::_wide_data"] [:: std :: mem :: offset_of ! (_IO_FILE , _wide_data) - 160usize] ; ["Offset of field: _IO_FILE::_freeres_list"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_list) - 168usize] ; ["Offset of field: _IO_FILE::_freeres_buf"] [:: std :: mem :: offset_of ! (_IO_FILE , _freeres_buf) - 176usize] ; ["Offset of field: _IO_FILE::__pad5"] [:: std :: mem :: offset_of ! (_IO_FILE , __pad5) - 184usize] ; ["Offset of field: _IO_FILE::_mode"] [:: std :: mem :: offset_of ! (_IO_FILE , _mode) - 192usize] ; ["Offset of field: _IO_FILE::_unused2"] [:: std :: mem :: offset_of ! (_IO_FILE , _unused2) - 196usize] ; } ; pub type __u8 = :: std :: os :: raw :: c_uchar ; pub type __u16 = :: std :: os :: raw :: c_ushort ; pub type __s16 = :: std :: os :: raw :: c_short ; pub type __u32 = :: std :: os :: raw :: c_uint ; pub type __s32 = :: std :: os :: raw :: c_int ; pub type __u64 = :: std :: os :: raw :: c_ulonglong ; pub type __s64 = :: std :: os :: raw :: c_longlong ; pub type __le16 = __u16 ; pub type __le32 = __u32 ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_acl_header { pub aclh_size : __u32 , pub aclh_file_count : __u32 , pub aclh_acle_count : __u32 , pub aclh_first_acle : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_acl_header"] [:: std :: mem :: size_of :: < ext2_acl_header > () - 16usize] ; ["Alignment of ext2_acl_header"] [:: std :: mem :: align_of :: < ext2_acl_header > () - 4usize] ; ["Offset of field: ext2_acl_header::aclh_size"] [:: std :: mem :: offset_of ! (ext2_acl_header , aclh_size) - 0usize] ; ["Offset of field: ext2_acl_header::aclh_file_count"] [:: std :: mem :: offset_of ! (ext2_acl_header , aclh_file_count) - 4usize] ; ["Offset of field: ext2_acl_header::aclh_acle_count"] [:: std :: mem :: offset_of ! (ext2_acl_header , aclh_acle_count) - 8usize] ; ["Offset of field: ext2_acl_header::aclh_first_acle"] [:: std :: mem :: offset_of ! (ext2_acl_header , aclh_first_acle) - 12usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_acl_entry { pub acle_size : __u32 , pub acle_perms : __u16 , pub acle_type : __u16 , pub acle_tag : __u16 , pub acle_pad1 : __u16 , pub acle_next : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_acl_entry"] [:: std :: mem :: size_of :: < ext2_acl_entry > () - 16usize] ; ["Alignment of ext2_acl_entry"] [:: std :: mem :: align_of :: < ext2_acl_entry > () - 4usize] ; ["Offset of field: ext2_acl_entry::acle_size"] [:: std :: mem :: offset_of ! (ext2_acl_entry , acle_size) - 0usize] ; ["Offset of field: ext2_acl_entry::acle_perms"] [:: std :: mem :: offset_of ! (ext2_acl_entry , acle_perms) - 4usize] ; ["Offset of field: ext2_acl_entry::acle_type"] [:: std :: mem :: offset_of ! (ext2_acl_entry , acle_type) - 6usize] ; ["Offset of field: ext2_acl_entry::acle_tag"] [:: std :: mem :: offset_of ! (ext2_acl_entry , acle_tag) - 8usize] ; ["Offset of field: ext2_acl_entry::acle_pad1"] [:: std :: mem :: offset_of ! (ext2_acl_entry , acle_pad1) - 10usize] ; ["Offset of field: ext2_acl_entry::acle_next"] [:: std :: mem :: offset_of ! (ext2_acl_entry , acle_next) - 12usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_group_desc { pub bg_block_bitmap : __u32 , pub bg_inode_bitmap : __u32 , pub bg_inode_table : __u32 , pub bg_free_blocks_count : __u16 , pub bg_free_inodes_count : __u16 , pub bg_used_dirs_count : __u16 , pub bg_flags : __u16 , pub bg_exclude_bitmap_lo : __u32 , pub bg_block_bitmap_csum_lo : __u16 , pub bg_inode_bitmap_csum_lo : __u16 , pub bg_itable_unused : __u16 , pub bg_checksum : __u16 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_group_desc"] [:: std :: mem :: size_of :: < ext2_group_desc > () - 32usize] ; ["Alignment of ext2_group_desc"] [:: std :: mem :: align_of :: < ext2_group_desc > () - 4usize] ; ["Offset of field: ext2_group_desc::bg_block_bitmap"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_block_bitmap) - 0usize] ; ["Offset of field: ext2_group_desc::bg_inode_bitmap"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_inode_bitmap) - 4usize] ; ["Offset of field: ext2_group_desc::bg_inode_table"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_inode_table) - 8usize] ; ["Offset of field: ext2_group_desc::bg_free_blocks_count"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_free_blocks_count) - 12usize] ; ["Offset of field: ext2_group_desc::bg_free_inodes_count"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_free_inodes_count) - 14usize] ; ["Offset of field: ext2_group_desc::bg_used_dirs_count"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_used_dirs_count) - 16usize] ; ["Offset of field: ext2_group_desc::bg_flags"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_flags) - 18usize] ; ["Offset of field: ext2_group_desc::bg_exclude_bitmap_lo"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_exclude_bitmap_lo) - 20usize] ; ["Offset of field: ext2_group_desc::bg_block_bitmap_csum_lo"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_block_bitmap_csum_lo) - 24usize] ; ["Offset of field: ext2_group_desc::bg_inode_bitmap_csum_lo"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_inode_bitmap_csum_lo) - 26usize] ; ["Offset of field: ext2_group_desc::bg_itable_unused"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_itable_unused) - 28usize] ; ["Offset of field: ext2_group_desc::bg_checksum"] [:: std :: mem :: offset_of ! (ext2_group_desc , bg_checksum) - 30usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dx_root_info { pub reserved_zero : __u32 , pub hash_version : __u8 , pub info_length : __u8 , pub indirect_levels : __u8 , pub unused_flags : __u8 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dx_root_info"] [:: std :: mem :: size_of :: < ext2_dx_root_info > () - 8usize] ; ["Alignment of ext2_dx_root_info"] [:: std :: mem :: align_of :: < ext2_dx_root_info > () - 4usize] ; ["Offset of field: ext2_dx_root_info::reserved_zero"] [:: std :: mem :: offset_of ! (ext2_dx_root_info , reserved_zero) - 0usize] ; ["Offset of field: ext2_dx_root_info::hash_version"] [:: std :: mem :: offset_of ! (ext2_dx_root_info , hash_version) - 4usize] ; ["Offset of field: ext2_dx_root_info::info_length"] [:: std :: mem :: offset_of ! (ext2_dx_root_info , info_length) - 5usize] ; ["Offset of field: ext2_dx_root_info::indirect_levels"] [:: std :: mem :: offset_of ! (ext2_dx_root_info , indirect_levels) - 6usize] ; ["Offset of field: ext2_dx_root_info::unused_flags"] [:: std :: mem :: offset_of ! (ext2_dx_root_info , unused_flags) - 7usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dx_entry { pub hash : __le32 , pub block : __le32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dx_entry"] [:: std :: mem :: size_of :: < ext2_dx_entry > () - 8usize] ; ["Alignment of ext2_dx_entry"] [:: std :: mem :: align_of :: < ext2_dx_entry > () - 4usize] ; ["Offset of field: ext2_dx_entry::hash"] [:: std :: mem :: offset_of ! (ext2_dx_entry , hash) - 0usize] ; ["Offset of field: ext2_dx_entry::block"] [:: std :: mem :: offset_of ! (ext2_dx_entry , block) - 4usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dx_countlimit { pub limit : __le16 , pub count : __le16 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dx_countlimit"] [:: std :: mem :: size_of :: < ext2_dx_countlimit > () - 4usize] ; ["Alignment of ext2_dx_countlimit"] [:: std :: mem :: align_of :: < ext2_dx_countlimit > () - 2usize] ; ["Offset of field: ext2_dx_countlimit::limit"] [:: std :: mem :: offset_of ! (ext2_dx_countlimit , limit) - 0usize] ; ["Offset of field: ext2_dx_countlimit::count"] [:: std :: mem :: offset_of ! (ext2_dx_countlimit , count) - 2usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dx_tail { pub dt_reserved : __le32 , pub dt_checksum : __le32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dx_tail"] [:: std :: mem :: size_of :: < ext2_dx_tail > () - 8usize] ; ["Alignment of ext2_dx_tail"] [:: std :: mem :: align_of :: < ext2_dx_tail > () - 4usize] ; ["Offset of field: ext2_dx_tail::dt_reserved"] [:: std :: mem :: offset_of ! (ext2_dx_tail , dt_reserved) - 0usize] ; ["Offset of field: ext2_dx_tail::dt_checksum"] [:: std :: mem :: offset_of ! (ext2_dx_tail , dt_checksum) - 4usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_new_group_input { pub group : __u32 , pub block_bitmap : __u32 , pub inode_bitmap : __u32 , pub inode_table : __u32 , pub blocks_count : __u32 , pub reserved_blocks : __u16 , pub unused : __u16 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_new_group_input"] [:: std :: mem :: size_of :: < ext2_new_group_input > () - 24usize] ; ["Alignment of ext2_new_group_input"] [:: std :: mem :: align_of :: < ext2_new_group_input > () - 4usize] ; ["Offset of field: ext2_new_group_input::group"] [:: std :: mem :: offset_of ! (ext2_new_group_input , group) - 0usize] ; ["Offset of field: ext2_new_group_input::block_bitmap"] [:: std :: mem :: offset_of ! (ext2_new_group_input , block_bitmap) - 4usize] ; ["Offset of field: ext2_new_group_input::inode_bitmap"] [:: std :: mem :: offset_of ! (ext2_new_group_input , inode_bitmap) - 8usize] ; ["Offset of field: ext2_new_group_input::inode_table"] [:: std :: mem :: offset_of ! (ext2_new_group_input , inode_table) - 12usize] ; ["Offset of field: ext2_new_group_input::blocks_count"] [:: std :: mem :: offset_of ! (ext2_new_group_input , blocks_count) - 16usize] ; ["Offset of field: ext2_new_group_input::reserved_blocks"] [:: std :: mem :: offset_of ! (ext2_new_group_input , reserved_blocks) - 20usize] ; ["Offset of field: ext2_new_group_input::unused"] [:: std :: mem :: offset_of ! (ext2_new_group_input , unused) - 22usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct ext2_inode { pub i_mode : __u16 , pub i_uid : __u16 , pub i_size : __u32 , pub i_atime : __u32 , pub i_ctime : __u32 , pub i_mtime : __u32 , pub i_dtime : __u32 , pub i_gid : __u16 , pub i_links_count : __u16 , pub i_blocks : __u32 , pub i_flags : __u32 , pub osd1 : ext2_inode__bindgen_ty_1 , pub i_block : [__u32 ; 15usize] , pub i_generation : __u32 , pub i_file_acl : __u32 , pub i_size_high : __u32 , pub i_faddr : __u32 , pub osd2 : ext2_inode__bindgen_ty_2 , } # [repr (C)] # [derive (Copy , Clone)] pub union ext2_inode__bindgen_ty_1 { pub linux1 : ext2_inode__bindgen_ty_1__bindgen_ty_1 , pub hurd1 : ext2_inode__bindgen_ty_1__bindgen_ty_2 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode__bindgen_ty_1__bindgen_ty_1 { pub l_i_version : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode__bindgen_ty_1__bindgen_ty_1"] [:: std :: mem :: size_of :: < ext2_inode__bindgen_ty_1__bindgen_ty_1 > () - 4usize] ; ["Alignment of ext2_inode__bindgen_ty_1__bindgen_ty_1"] [:: std :: mem :: align_of :: < ext2_inode__bindgen_ty_1__bindgen_ty_1 > () - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_1__bindgen_ty_1::l_i_version"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_1__bindgen_ty_1 , l_i_version) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode__bindgen_ty_1__bindgen_ty_2 { pub h_i_translator : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode__bindgen_ty_1__bindgen_ty_2"] [:: std :: mem :: size_of :: < ext2_inode__bindgen_ty_1__bindgen_ty_2 > () - 4usize] ; ["Alignment of ext2_inode__bindgen_ty_1__bindgen_ty_2"] [:: std :: mem :: align_of :: < ext2_inode__bindgen_ty_1__bindgen_ty_2 > () - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_1__bindgen_ty_2::h_i_translator"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_1__bindgen_ty_2 , h_i_translator) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode__bindgen_ty_1"] [:: std :: mem :: size_of :: < ext2_inode__bindgen_ty_1 > () - 4usize] ; ["Alignment of ext2_inode__bindgen_ty_1"] [:: std :: mem :: align_of :: < ext2_inode__bindgen_ty_1 > () - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_1::linux1"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_1 , linux1) - 0usize] ; ["Offset of field: ext2_inode__bindgen_ty_1::hurd1"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_1 , hurd1) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union ext2_inode__bindgen_ty_2 { pub linux2 : ext2_inode__bindgen_ty_2__bindgen_ty_1 , pub hurd2 : ext2_inode__bindgen_ty_2__bindgen_ty_2 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode__bindgen_ty_2__bindgen_ty_1 { pub l_i_blocks_hi : __u16 , pub l_i_file_acl_high : __u16 , pub l_i_uid_high : __u16 , pub l_i_gid_high : __u16 , pub l_i_checksum_lo : __u16 , pub l_i_reserved : __u16 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode__bindgen_ty_2__bindgen_ty_1"] [:: std :: mem :: size_of :: < ext2_inode__bindgen_ty_2__bindgen_ty_1 > () - 12usize] ; ["Alignment of ext2_inode__bindgen_ty_2__bindgen_ty_1"] [:: std :: mem :: align_of :: < ext2_inode__bindgen_ty_2__bindgen_ty_1 > () - 2usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_1::l_i_blocks_hi"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_1 , l_i_blocks_hi) - 0usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_1::l_i_file_acl_high"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_1 , l_i_file_acl_high) - 2usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_1::l_i_uid_high"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_1 , l_i_uid_high) - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_1::l_i_gid_high"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_1 , l_i_gid_high) - 6usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_1::l_i_checksum_lo"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_1 , l_i_checksum_lo) - 8usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_1::l_i_reserved"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_1 , l_i_reserved) - 10usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode__bindgen_ty_2__bindgen_ty_2 { pub h_i_frag : __u8 , pub h_i_fsize : __u8 , pub h_i_mode_high : __u16 , pub h_i_uid_high : __u16 , pub h_i_gid_high : __u16 , pub h_i_author : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode__bindgen_ty_2__bindgen_ty_2"] [:: std :: mem :: size_of :: < ext2_inode__bindgen_ty_2__bindgen_ty_2 > () - 12usize] ; ["Alignment of ext2_inode__bindgen_ty_2__bindgen_ty_2"] [:: std :: mem :: align_of :: < ext2_inode__bindgen_ty_2__bindgen_ty_2 > () - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_2::h_i_frag"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_2 , h_i_frag) - 0usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_2::h_i_fsize"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_2 , h_i_fsize) - 1usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_2::h_i_mode_high"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_2 , h_i_mode_high) - 2usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_2::h_i_uid_high"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_2 , h_i_uid_high) - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_2::h_i_gid_high"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_2 , h_i_gid_high) - 6usize] ; ["Offset of field: ext2_inode__bindgen_ty_2__bindgen_ty_2::h_i_author"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2__bindgen_ty_2 , h_i_author) - 8usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode__bindgen_ty_2"] [:: std :: mem :: size_of :: < ext2_inode__bindgen_ty_2 > () - 12usize] ; ["Alignment of ext2_inode__bindgen_ty_2"] [:: std :: mem :: align_of :: < ext2_inode__bindgen_ty_2 > () - 4usize] ; ["Offset of field: ext2_inode__bindgen_ty_2::linux2"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2 , linux2) - 0usize] ; ["Offset of field: ext2_inode__bindgen_ty_2::hurd2"] [:: std :: mem :: offset_of ! (ext2_inode__bindgen_ty_2 , hurd2) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode"] [:: std :: mem :: size_of :: < ext2_inode > () - 128usize] ; ["Alignment of ext2_inode"] [:: std :: mem :: align_of :: < ext2_inode > () - 4usize] ; ["Offset of field: ext2_inode::i_mode"] [:: std :: mem :: offset_of ! (ext2_inode , i_mode) - 0usize] ; ["Offset of field: ext2_inode::i_uid"] [:: std :: mem :: offset_of ! (ext2_inode , i_uid) - 2usize] ; ["Offset of field: ext2_inode::i_size"] [:: std :: mem :: offset_of ! (ext2_inode , i_size) - 4usize] ; ["Offset of field: ext2_inode::i_atime"] [:: std :: mem :: offset_of ! (ext2_inode , i_atime) - 8usize] ; ["Offset of field: ext2_inode::i_ctime"] [:: std :: mem :: offset_of ! (ext2_inode , i_ctime) - 12usize] ; ["Offset of field: ext2_inode::i_mtime"] [:: std :: mem :: offset_of ! (ext2_inode , i_mtime) - 16usize] ; ["Offset of field: ext2_inode::i_dtime"] [:: std :: mem :: offset_of ! (ext2_inode , i_dtime) - 20usize] ; ["Offset of field: ext2_inode::i_gid"] [:: std :: mem :: offset_of ! (ext2_inode , i_gid) - 24usize] ; ["Offset of field: ext2_inode::i_links_count"] [:: std :: mem :: offset_of ! (ext2_inode , i_links_count) - 26usize] ; ["Offset of field: ext2_inode::i_blocks"] [:: std :: mem :: offset_of ! (ext2_inode , i_blocks) - 28usize] ; ["Offset of field: ext2_inode::i_flags"] [:: std :: mem :: offset_of ! (ext2_inode , i_flags) - 32usize] ; ["Offset of field: ext2_inode::osd1"] [:: std :: mem :: offset_of ! (ext2_inode , osd1) - 36usize] ; ["Offset of field: ext2_inode::i_block"] [:: std :: mem :: offset_of ! (ext2_inode , i_block) - 40usize] ; ["Offset of field: ext2_inode::i_generation"] [:: std :: mem :: offset_of ! (ext2_inode , i_generation) - 100usize] ; ["Offset of field: ext2_inode::i_file_acl"] [:: std :: mem :: offset_of ! (ext2_inode , i_file_acl) - 104usize] ; ["Offset of field: ext2_inode::i_size_high"] [:: std :: mem :: offset_of ! (ext2_inode , i_size_high) - 108usize] ; ["Offset of field: ext2_inode::i_faddr"] [:: std :: mem :: offset_of ! (ext2_inode , i_faddr) - 112usize] ; ["Offset of field: ext2_inode::osd2"] [:: std :: mem :: offset_of ! (ext2_inode , osd2) - 116usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub struct ext2_inode_large { pub i_mode : __u16 , pub i_uid : __u16 , pub i_size : __u32 , pub i_atime : __u32 , pub i_ctime : __u32 , pub i_mtime : __u32 , pub i_dtime : __u32 , pub i_gid : __u16 , pub i_links_count : __u16 , pub i_blocks : __u32 , pub i_flags : __u32 , pub osd1 : ext2_inode_large__bindgen_ty_1 , pub i_block : [__u32 ; 15usize] , pub i_generation : __u32 , pub i_file_acl : __u32 , pub i_size_high : __u32 , pub i_faddr : __u32 , pub osd2 : ext2_inode_large__bindgen_ty_2 , pub i_extra_isize : __u16 , pub i_checksum_hi : __u16 , pub i_ctime_extra : __u32 , pub i_mtime_extra : __u32 , pub i_atime_extra : __u32 , pub i_crtime : __u32 , pub i_crtime_extra : __u32 , pub i_version_hi : __u32 , pub i_projid : __u32 , } # [repr (C)] # [derive (Copy , Clone)] pub union ext2_inode_large__bindgen_ty_1 { pub linux1 : ext2_inode_large__bindgen_ty_1__bindgen_ty_1 , pub hurd1 : ext2_inode_large__bindgen_ty_1__bindgen_ty_2 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode_large__bindgen_ty_1__bindgen_ty_1 { pub l_i_version : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large__bindgen_ty_1__bindgen_ty_1"] [:: std :: mem :: size_of :: < ext2_inode_large__bindgen_ty_1__bindgen_ty_1 > () - 4usize] ; ["Alignment of ext2_inode_large__bindgen_ty_1__bindgen_ty_1"] [:: std :: mem :: align_of :: < ext2_inode_large__bindgen_ty_1__bindgen_ty_1 > () - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_1__bindgen_ty_1::l_i_version"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_1__bindgen_ty_1 , l_i_version) - 0usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode_large__bindgen_ty_1__bindgen_ty_2 { pub h_i_translator : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large__bindgen_ty_1__bindgen_ty_2"] [:: std :: mem :: size_of :: < ext2_inode_large__bindgen_ty_1__bindgen_ty_2 > () - 4usize] ; ["Alignment of ext2_inode_large__bindgen_ty_1__bindgen_ty_2"] [:: std :: mem :: align_of :: < ext2_inode_large__bindgen_ty_1__bindgen_ty_2 > () - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_1__bindgen_ty_2::h_i_translator"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_1__bindgen_ty_2 , h_i_translator) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large__bindgen_ty_1"] [:: std :: mem :: size_of :: < ext2_inode_large__bindgen_ty_1 > () - 4usize] ; ["Alignment of ext2_inode_large__bindgen_ty_1"] [:: std :: mem :: align_of :: < ext2_inode_large__bindgen_ty_1 > () - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_1::linux1"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_1 , linux1) - 0usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_1::hurd1"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_1 , hurd1) - 0usize] ; } ; # [repr (C)] # [derive (Copy , Clone)] pub union ext2_inode_large__bindgen_ty_2 { pub linux2 : ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , pub hurd2 : ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode_large__bindgen_ty_2__bindgen_ty_1 { pub l_i_blocks_hi : __u16 , pub l_i_file_acl_high : __u16 , pub l_i_uid_high : __u16 , pub l_i_gid_high : __u16 , pub l_i_checksum_lo : __u16 , pub l_i_reserved : __u16 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large__bindgen_ty_2__bindgen_ty_1"] [:: std :: mem :: size_of :: < ext2_inode_large__bindgen_ty_2__bindgen_ty_1 > () - 12usize] ; ["Alignment of ext2_inode_large__bindgen_ty_2__bindgen_ty_1"] [:: std :: mem :: align_of :: < ext2_inode_large__bindgen_ty_2__bindgen_ty_1 > () - 2usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_1::l_i_blocks_hi"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , l_i_blocks_hi) - 0usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_1::l_i_file_acl_high"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , l_i_file_acl_high) - 2usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_1::l_i_uid_high"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , l_i_uid_high) - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_1::l_i_gid_high"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , l_i_gid_high) - 6usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_1::l_i_checksum_lo"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , l_i_checksum_lo) - 8usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_1::l_i_reserved"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_1 , l_i_reserved) - 10usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode_large__bindgen_ty_2__bindgen_ty_2 { pub h_i_frag : __u8 , pub h_i_fsize : __u8 , pub h_i_mode_high : __u16 , pub h_i_uid_high : __u16 , pub h_i_gid_high : __u16 , pub h_i_author : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large__bindgen_ty_2__bindgen_ty_2"] [:: std :: mem :: size_of :: < ext2_inode_large__bindgen_ty_2__bindgen_ty_2 > () - 12usize] ; ["Alignment of ext2_inode_large__bindgen_ty_2__bindgen_ty_2"] [:: std :: mem :: align_of :: < ext2_inode_large__bindgen_ty_2__bindgen_ty_2 > () - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_2::h_i_frag"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , h_i_frag) - 0usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_2::h_i_fsize"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , h_i_fsize) - 1usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_2::h_i_mode_high"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , h_i_mode_high) - 2usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_2::h_i_uid_high"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , h_i_uid_high) - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_2::h_i_gid_high"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , h_i_gid_high) - 6usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2__bindgen_ty_2::h_i_author"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2__bindgen_ty_2 , h_i_author) - 8usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large__bindgen_ty_2"] [:: std :: mem :: size_of :: < ext2_inode_large__bindgen_ty_2 > () - 12usize] ; ["Alignment of ext2_inode_large__bindgen_ty_2"] [:: std :: mem :: align_of :: < ext2_inode_large__bindgen_ty_2 > () - 4usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2::linux2"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2 , linux2) - 0usize] ; ["Offset of field: ext2_inode_large__bindgen_ty_2::hurd2"] [:: std :: mem :: offset_of ! (ext2_inode_large__bindgen_ty_2 , hurd2) - 0usize] ; } ; # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_inode_large"] [:: std :: mem :: size_of :: < ext2_inode_large > () - 160usize] ; ["Alignment of ext2_inode_large"] [:: std :: mem :: align_of :: < ext2_inode_large > () - 4usize] ; ["Offset of field: ext2_inode_large::i_mode"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_mode) - 0usize] ; ["Offset of field: ext2_inode_large::i_uid"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_uid) - 2usize] ; ["Offset of field: ext2_inode_large::i_size"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_size) - 4usize] ; ["Offset of field: ext2_inode_large::i_atime"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_atime) - 8usize] ; ["Offset of field: ext2_inode_large::i_ctime"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_ctime) - 12usize] ; ["Offset of field: ext2_inode_large::i_mtime"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_mtime) - 16usize] ; ["Offset of field: ext2_inode_large::i_dtime"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_dtime) - 20usize] ; ["Offset of field: ext2_inode_large::i_gid"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_gid) - 24usize] ; ["Offset of field: ext2_inode_large::i_links_count"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_links_count) - 26usize] ; ["Offset of field: ext2_inode_large::i_blocks"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_blocks) - 28usize] ; ["Offset of field: ext2_inode_large::i_flags"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_flags) - 32usize] ; ["Offset of field: ext2_inode_large::osd1"] [:: std :: mem :: offset_of ! (ext2_inode_large , osd1) - 36usize] ; ["Offset of field: ext2_inode_large::i_block"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_block) - 40usize] ; ["Offset of field: ext2_inode_large::i_generation"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_generation) - 100usize] ; ["Offset of field: ext2_inode_large::i_file_acl"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_file_acl) - 104usize] ; ["Offset of field: ext2_inode_large::i_size_high"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_size_high) - 108usize] ; ["Offset of field: ext2_inode_large::i_faddr"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_faddr) - 112usize] ; ["Offset of field: ext2_inode_large::osd2"] [:: std :: mem :: offset_of ! (ext2_inode_large , osd2) - 116usize] ; ["Offset of field: ext2_inode_large::i_extra_isize"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_extra_isize) - 128usize] ; ["Offset of field: ext2_inode_large::i_checksum_hi"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_checksum_hi) - 130usize] ; ["Offset of field: ext2_inode_large::i_ctime_extra"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_ctime_extra) - 132usize] ; ["Offset of field: ext2_inode_large::i_mtime_extra"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_mtime_extra) - 136usize] ; ["Offset of field: ext2_inode_large::i_atime_extra"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_atime_extra) - 140usize] ; ["Offset of field: ext2_inode_large::i_crtime"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_crtime) - 144usize] ; ["Offset of field: ext2_inode_large::i_crtime_extra"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_crtime_extra) - 148usize] ; ["Offset of field: ext2_inode_large::i_version_hi"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_version_hi) - 152usize] ; ["Offset of field: ext2_inode_large::i_projid"] [:: std :: mem :: offset_of ! (ext2_inode_large , i_projid) - 156usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_super_block { pub s_inodes_count : __u32 , pub s_blocks_count : __u32 , pub s_r_blocks_count : __u32 , pub s_free_blocks_count : __u32 , pub s_free_inodes_count : __u32 , pub s_first_data_block : __u32 , pub s_log_block_size : __u32 , pub s_log_cluster_size : __u32 , pub s_blocks_per_group : __u32 , pub s_clusters_per_group : __u32 , pub s_inodes_per_group : __u32 , pub s_mtime : __u32 , pub s_wtime : __u32 , pub s_mnt_count : __u16 , pub s_max_mnt_count : __s16 , pub s_magic : __u16 , pub s_state : __u16 , pub s_errors : __u16 , pub s_minor_rev_level : __u16 , pub s_lastcheck : __u32 , pub s_checkinterval : __u32 , pub s_creator_os : __u32 , pub s_rev_level : __u32 , pub s_def_resuid : __u16 , pub s_def_resgid : __u16 , pub s_first_ino : __u32 , pub s_inode_size : __u16 , pub s_block_group_nr : __u16 , pub s_feature_compat : __u32 , pub s_feature_incompat : __u32 , pub s_feature_ro_compat : __u32 , pub s_uuid : [__u8 ; 16usize] , pub s_volume_name : [__u8 ; 16usize] , pub s_last_mounted : [__u8 ; 64usize] , pub s_algorithm_usage_bitmap : __u32 , pub s_prealloc_blocks : __u8 , pub s_prealloc_dir_blocks : __u8 , pub s_reserved_gdt_blocks : __u16 , pub s_journal_uuid : [__u8 ; 16usize] , pub s_journal_inum : __u32 , pub s_journal_dev : __u32 , pub s_last_orphan : __u32 , pub s_hash_seed : [__u32 ; 4usize] , pub s_def_hash_version : __u8 , pub s_jnl_backup_type : __u8 , pub s_desc_size : __u16 , pub s_default_mount_opts : __u32 , pub s_first_meta_bg : __u32 , pub s_mkfs_time : __u32 , pub s_jnl_blocks : [__u32 ; 17usize] , pub s_blocks_count_hi : __u32 , pub s_r_blocks_count_hi : __u32 , pub s_free_blocks_hi : __u32 , pub s_min_extra_isize : __u16 , pub s_want_extra_isize : __u16 , pub s_flags : __u32 , pub s_raid_stride : __u16 , pub s_mmp_update_interval : __u16 , pub s_mmp_block : __u64 , pub s_raid_stripe_width : __u32 , pub s_log_groups_per_flex : __u8 , pub s_checksum_type : __u8 , pub s_encryption_level : __u8 , pub s_reserved_pad : __u8 , pub s_kbytes_written : __u64 , pub s_snapshot_inum : __u32 , pub s_snapshot_id : __u32 , pub s_snapshot_r_blocks_count : __u64 , pub s_snapshot_list : __u32 , pub s_error_count : __u32 , pub s_first_error_time : __u32 , pub s_first_error_ino : __u32 , pub s_first_error_block : __u64 , pub s_first_error_func : [__u8 ; 32usize] , pub s_first_error_line : __u32 , pub s_last_error_time : __u32 , pub s_last_error_ino : __u32 , pub s_last_error_line : __u32 , pub s_last_error_block : __u64 , pub s_last_error_func : [__u8 ; 32usize] , pub s_mount_opts : [__u8 ; 64usize] , pub s_usr_quota_inum : __u32 , pub s_grp_quota_inum : __u32 , pub s_overhead_clusters : __u32 , pub s_backup_bgs : [__u32 ; 2usize] , pub s_encrypt_algos : [__u8 ; 4usize] , pub s_encrypt_pw_salt : [__u8 ; 16usize] , pub s_lpf_ino : __le32 , pub s_prj_quota_inum : __le32 , pub s_checksum_seed : __le32 , pub s_wtime_hi : __u8 , pub s_mtime_hi : __u8 , pub s_mkfs_time_hi : __u8 , pub s_lastcheck_hi : __u8 , pub s_first_error_time_hi : __u8 , pub s_last_error_time_hi : __u8 , pub s_first_error_errcode : __u8 , pub s_last_error_errcode : __u8 , pub s_encoding : __le16 , pub s_encoding_flags : __le16 , pub s_orphan_file_inum : __le32 , pub s_reserved : [__le32 ; 94usize] , pub s_checksum : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_super_block"] [:: std :: mem :: size_of :: < ext2_super_block > () - 1024usize] ; ["Alignment of ext2_super_block"] [:: std :: mem :: align_of :: < ext2_super_block > () - 8usize] ; ["Offset of field: ext2_super_block::s_inodes_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_inodes_count) - 0usize] ; ["Offset of field: ext2_super_block::s_blocks_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_blocks_count) - 4usize] ; ["Offset of field: ext2_super_block::s_r_blocks_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_r_blocks_count) - 8usize] ; ["Offset of field: ext2_super_block::s_free_blocks_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_free_blocks_count) - 12usize] ; ["Offset of field: ext2_super_block::s_free_inodes_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_free_inodes_count) - 16usize] ; ["Offset of field: ext2_super_block::s_first_data_block"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_data_block) - 20usize] ; ["Offset of field: ext2_super_block::s_log_block_size"] [:: std :: mem :: offset_of ! (ext2_super_block , s_log_block_size) - 24usize] ; ["Offset of field: ext2_super_block::s_log_cluster_size"] [:: std :: mem :: offset_of ! (ext2_super_block , s_log_cluster_size) - 28usize] ; ["Offset of field: ext2_super_block::s_blocks_per_group"] [:: std :: mem :: offset_of ! (ext2_super_block , s_blocks_per_group) - 32usize] ; ["Offset of field: ext2_super_block::s_clusters_per_group"] [:: std :: mem :: offset_of ! (ext2_super_block , s_clusters_per_group) - 36usize] ; ["Offset of field: ext2_super_block::s_inodes_per_group"] [:: std :: mem :: offset_of ! (ext2_super_block , s_inodes_per_group) - 40usize] ; ["Offset of field: ext2_super_block::s_mtime"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mtime) - 44usize] ; ["Offset of field: ext2_super_block::s_wtime"] [:: std :: mem :: offset_of ! (ext2_super_block , s_wtime) - 48usize] ; ["Offset of field: ext2_super_block::s_mnt_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mnt_count) - 52usize] ; ["Offset of field: ext2_super_block::s_max_mnt_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_max_mnt_count) - 54usize] ; ["Offset of field: ext2_super_block::s_magic"] [:: std :: mem :: offset_of ! (ext2_super_block , s_magic) - 56usize] ; ["Offset of field: ext2_super_block::s_state"] [:: std :: mem :: offset_of ! (ext2_super_block , s_state) - 58usize] ; ["Offset of field: ext2_super_block::s_errors"] [:: std :: mem :: offset_of ! (ext2_super_block , s_errors) - 60usize] ; ["Offset of field: ext2_super_block::s_minor_rev_level"] [:: std :: mem :: offset_of ! (ext2_super_block , s_minor_rev_level) - 62usize] ; ["Offset of field: ext2_super_block::s_lastcheck"] [:: std :: mem :: offset_of ! (ext2_super_block , s_lastcheck) - 64usize] ; ["Offset of field: ext2_super_block::s_checkinterval"] [:: std :: mem :: offset_of ! (ext2_super_block , s_checkinterval) - 68usize] ; ["Offset of field: ext2_super_block::s_creator_os"] [:: std :: mem :: offset_of ! (ext2_super_block , s_creator_os) - 72usize] ; ["Offset of field: ext2_super_block::s_rev_level"] [:: std :: mem :: offset_of ! (ext2_super_block , s_rev_level) - 76usize] ; ["Offset of field: ext2_super_block::s_def_resuid"] [:: std :: mem :: offset_of ! (ext2_super_block , s_def_resuid) - 80usize] ; ["Offset of field: ext2_super_block::s_def_resgid"] [:: std :: mem :: offset_of ! (ext2_super_block , s_def_resgid) - 82usize] ; ["Offset of field: ext2_super_block::s_first_ino"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_ino) - 84usize] ; ["Offset of field: ext2_super_block::s_inode_size"] [:: std :: mem :: offset_of ! (ext2_super_block , s_inode_size) - 88usize] ; ["Offset of field: ext2_super_block::s_block_group_nr"] [:: std :: mem :: offset_of ! (ext2_super_block , s_block_group_nr) - 90usize] ; ["Offset of field: ext2_super_block::s_feature_compat"] [:: std :: mem :: offset_of ! (ext2_super_block , s_feature_compat) - 92usize] ; ["Offset of field: ext2_super_block::s_feature_incompat"] [:: std :: mem :: offset_of ! (ext2_super_block , s_feature_incompat) - 96usize] ; ["Offset of field: ext2_super_block::s_feature_ro_compat"] [:: std :: mem :: offset_of ! (ext2_super_block , s_feature_ro_compat) - 100usize] ; ["Offset of field: ext2_super_block::s_uuid"] [:: std :: mem :: offset_of ! (ext2_super_block , s_uuid) - 104usize] ; ["Offset of field: ext2_super_block::s_volume_name"] [:: std :: mem :: offset_of ! (ext2_super_block , s_volume_name) - 120usize] ; ["Offset of field: ext2_super_block::s_last_mounted"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_mounted) - 136usize] ; ["Offset of field: ext2_super_block::s_algorithm_usage_bitmap"] [:: std :: mem :: offset_of ! (ext2_super_block , s_algorithm_usage_bitmap) - 200usize] ; ["Offset of field: ext2_super_block::s_prealloc_blocks"] [:: std :: mem :: offset_of ! (ext2_super_block , s_prealloc_blocks) - 204usize] ; ["Offset of field: ext2_super_block::s_prealloc_dir_blocks"] [:: std :: mem :: offset_of ! (ext2_super_block , s_prealloc_dir_blocks) - 205usize] ; ["Offset of field: ext2_super_block::s_reserved_gdt_blocks"] [:: std :: mem :: offset_of ! (ext2_super_block , s_reserved_gdt_blocks) - 206usize] ; ["Offset of field: ext2_super_block::s_journal_uuid"] [:: std :: mem :: offset_of ! (ext2_super_block , s_journal_uuid) - 208usize] ; ["Offset of field: ext2_super_block::s_journal_inum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_journal_inum) - 224usize] ; ["Offset of field: ext2_super_block::s_journal_dev"] [:: std :: mem :: offset_of ! (ext2_super_block , s_journal_dev) - 228usize] ; ["Offset of field: ext2_super_block::s_last_orphan"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_orphan) - 232usize] ; ["Offset of field: ext2_super_block::s_hash_seed"] [:: std :: mem :: offset_of ! (ext2_super_block , s_hash_seed) - 236usize] ; ["Offset of field: ext2_super_block::s_def_hash_version"] [:: std :: mem :: offset_of ! (ext2_super_block , s_def_hash_version) - 252usize] ; ["Offset of field: ext2_super_block::s_jnl_backup_type"] [:: std :: mem :: offset_of ! (ext2_super_block , s_jnl_backup_type) - 253usize] ; ["Offset of field: ext2_super_block::s_desc_size"] [:: std :: mem :: offset_of ! (ext2_super_block , s_desc_size) - 254usize] ; ["Offset of field: ext2_super_block::s_default_mount_opts"] [:: std :: mem :: offset_of ! (ext2_super_block , s_default_mount_opts) - 256usize] ; ["Offset of field: ext2_super_block::s_first_meta_bg"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_meta_bg) - 260usize] ; ["Offset of field: ext2_super_block::s_mkfs_time"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mkfs_time) - 264usize] ; ["Offset of field: ext2_super_block::s_jnl_blocks"] [:: std :: mem :: offset_of ! (ext2_super_block , s_jnl_blocks) - 268usize] ; ["Offset of field: ext2_super_block::s_blocks_count_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_blocks_count_hi) - 336usize] ; ["Offset of field: ext2_super_block::s_r_blocks_count_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_r_blocks_count_hi) - 340usize] ; ["Offset of field: ext2_super_block::s_free_blocks_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_free_blocks_hi) - 344usize] ; ["Offset of field: ext2_super_block::s_min_extra_isize"] [:: std :: mem :: offset_of ! (ext2_super_block , s_min_extra_isize) - 348usize] ; ["Offset of field: ext2_super_block::s_want_extra_isize"] [:: std :: mem :: offset_of ! (ext2_super_block , s_want_extra_isize) - 350usize] ; ["Offset of field: ext2_super_block::s_flags"] [:: std :: mem :: offset_of ! (ext2_super_block , s_flags) - 352usize] ; ["Offset of field: ext2_super_block::s_raid_stride"] [:: std :: mem :: offset_of ! (ext2_super_block , s_raid_stride) - 356usize] ; ["Offset of field: ext2_super_block::s_mmp_update_interval"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mmp_update_interval) - 358usize] ; ["Offset of field: ext2_super_block::s_mmp_block"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mmp_block) - 360usize] ; ["Offset of field: ext2_super_block::s_raid_stripe_width"] [:: std :: mem :: offset_of ! (ext2_super_block , s_raid_stripe_width) - 368usize] ; ["Offset of field: ext2_super_block::s_log_groups_per_flex"] [:: std :: mem :: offset_of ! (ext2_super_block , s_log_groups_per_flex) - 372usize] ; ["Offset of field: ext2_super_block::s_checksum_type"] [:: std :: mem :: offset_of ! (ext2_super_block , s_checksum_type) - 373usize] ; ["Offset of field: ext2_super_block::s_encryption_level"] [:: std :: mem :: offset_of ! (ext2_super_block , s_encryption_level) - 374usize] ; ["Offset of field: ext2_super_block::s_reserved_pad"] [:: std :: mem :: offset_of ! (ext2_super_block , s_reserved_pad) - 375usize] ; ["Offset of field: ext2_super_block::s_kbytes_written"] [:: std :: mem :: offset_of ! (ext2_super_block , s_kbytes_written) - 376usize] ; ["Offset of field: ext2_super_block::s_snapshot_inum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_snapshot_inum) - 384usize] ; ["Offset of field: ext2_super_block::s_snapshot_id"] [:: std :: mem :: offset_of ! (ext2_super_block , s_snapshot_id) - 388usize] ; ["Offset of field: ext2_super_block::s_snapshot_r_blocks_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_snapshot_r_blocks_count) - 392usize] ; ["Offset of field: ext2_super_block::s_snapshot_list"] [:: std :: mem :: offset_of ! (ext2_super_block , s_snapshot_list) - 400usize] ; ["Offset of field: ext2_super_block::s_error_count"] [:: std :: mem :: offset_of ! (ext2_super_block , s_error_count) - 404usize] ; ["Offset of field: ext2_super_block::s_first_error_time"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_time) - 408usize] ; ["Offset of field: ext2_super_block::s_first_error_ino"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_ino) - 412usize] ; ["Offset of field: ext2_super_block::s_first_error_block"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_block) - 416usize] ; ["Offset of field: ext2_super_block::s_first_error_func"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_func) - 424usize] ; ["Offset of field: ext2_super_block::s_first_error_line"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_line) - 456usize] ; ["Offset of field: ext2_super_block::s_last_error_time"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_time) - 460usize] ; ["Offset of field: ext2_super_block::s_last_error_ino"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_ino) - 464usize] ; ["Offset of field: ext2_super_block::s_last_error_line"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_line) - 468usize] ; ["Offset of field: ext2_super_block::s_last_error_block"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_block) - 472usize] ; ["Offset of field: ext2_super_block::s_last_error_func"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_func) - 480usize] ; ["Offset of field: ext2_super_block::s_mount_opts"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mount_opts) - 512usize] ; ["Offset of field: ext2_super_block::s_usr_quota_inum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_usr_quota_inum) - 576usize] ; ["Offset of field: ext2_super_block::s_grp_quota_inum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_grp_quota_inum) - 580usize] ; ["Offset of field: ext2_super_block::s_overhead_clusters"] [:: std :: mem :: offset_of ! (ext2_super_block , s_overhead_clusters) - 584usize] ; ["Offset of field: ext2_super_block::s_backup_bgs"] [:: std :: mem :: offset_of ! (ext2_super_block , s_backup_bgs) - 588usize] ; ["Offset of field: ext2_super_block::s_encrypt_algos"] [:: std :: mem :: offset_of ! (ext2_super_block , s_encrypt_algos) - 596usize] ; ["Offset of field: ext2_super_block::s_encrypt_pw_salt"] [:: std :: mem :: offset_of ! (ext2_super_block , s_encrypt_pw_salt) - 600usize] ; ["Offset of field: ext2_super_block::s_lpf_ino"] [:: std :: mem :: offset_of ! (ext2_super_block , s_lpf_ino) - 616usize] ; ["Offset of field: ext2_super_block::s_prj_quota_inum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_prj_quota_inum) - 620usize] ; ["Offset of field: ext2_super_block::s_checksum_seed"] [:: std :: mem :: offset_of ! (ext2_super_block , s_checksum_seed) - 624usize] ; ["Offset of field: ext2_super_block::s_wtime_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_wtime_hi) - 628usize] ; ["Offset of field: ext2_super_block::s_mtime_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mtime_hi) - 629usize] ; ["Offset of field: ext2_super_block::s_mkfs_time_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_mkfs_time_hi) - 630usize] ; ["Offset of field: ext2_super_block::s_lastcheck_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_lastcheck_hi) - 631usize] ; ["Offset of field: ext2_super_block::s_first_error_time_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_time_hi) - 632usize] ; ["Offset of field: ext2_super_block::s_last_error_time_hi"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_time_hi) - 633usize] ; ["Offset of field: ext2_super_block::s_first_error_errcode"] [:: std :: mem :: offset_of ! (ext2_super_block , s_first_error_errcode) - 634usize] ; ["Offset of field: ext2_super_block::s_last_error_errcode"] [:: std :: mem :: offset_of ! (ext2_super_block , s_last_error_errcode) - 635usize] ; ["Offset of field: ext2_super_block::s_encoding"] [:: std :: mem :: offset_of ! (ext2_super_block , s_encoding) - 636usize] ; ["Offset of field: ext2_super_block::s_encoding_flags"] [:: std :: mem :: offset_of ! (ext2_super_block , s_encoding_flags) - 638usize] ; ["Offset of field: ext2_super_block::s_orphan_file_inum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_orphan_file_inum) - 640usize] ; ["Offset of field: ext2_super_block::s_reserved"] [:: std :: mem :: offset_of ! (ext2_super_block , s_reserved) - 644usize] ; ["Offset of field: ext2_super_block::s_checksum"] [:: std :: mem :: offset_of ! (ext2_super_block , s_checksum) - 1020usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dir_entry { pub inode : __u32 , pub rec_len : __u16 , pub name_len : __u16 , pub name : [:: std :: os :: raw :: c_char ; 255usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dir_entry"] [:: std :: mem :: size_of :: < ext2_dir_entry > () - 264usize] ; ["Alignment of ext2_dir_entry"] [:: std :: mem :: align_of :: < ext2_dir_entry > () - 4usize] ; ["Offset of field: ext2_dir_entry::inode"] [:: std :: mem :: offset_of ! (ext2_dir_entry , inode) - 0usize] ; ["Offset of field: ext2_dir_entry::rec_len"] [:: std :: mem :: offset_of ! (ext2_dir_entry , rec_len) - 4usize] ; ["Offset of field: ext2_dir_entry::name_len"] [:: std :: mem :: offset_of ! (ext2_dir_entry , name_len) - 6usize] ; ["Offset of field: ext2_dir_entry::name"] [:: std :: mem :: offset_of ! (ext2_dir_entry , name) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dir_entry_2 { pub inode : __u32 , pub rec_len : __u16 , pub name_len : __u8 , pub file_type : __u8 , pub name : [:: std :: os :: raw :: c_char ; 255usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dir_entry_2"] [:: std :: mem :: size_of :: < ext2_dir_entry_2 > () - 264usize] ; ["Alignment of ext2_dir_entry_2"] [:: std :: mem :: align_of :: < ext2_dir_entry_2 > () - 4usize] ; ["Offset of field: ext2_dir_entry_2::inode"] [:: std :: mem :: offset_of ! (ext2_dir_entry_2 , inode) - 0usize] ; ["Offset of field: ext2_dir_entry_2::rec_len"] [:: std :: mem :: offset_of ! (ext2_dir_entry_2 , rec_len) - 4usize] ; ["Offset of field: ext2_dir_entry_2::name_len"] [:: std :: mem :: offset_of ! (ext2_dir_entry_2 , name_len) - 6usize] ; ["Offset of field: ext2_dir_entry_2::file_type"] [:: std :: mem :: offset_of ! (ext2_dir_entry_2 , file_type) - 7usize] ; ["Offset of field: ext2_dir_entry_2::name"] [:: std :: mem :: offset_of ! (ext2_dir_entry_2 , name) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dir_entry_hash { pub hash : __le32 , pub minor_hash : __le32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dir_entry_hash"] [:: std :: mem :: size_of :: < ext2_dir_entry_hash > () - 8usize] ; ["Alignment of ext2_dir_entry_hash"] [:: std :: mem :: align_of :: < ext2_dir_entry_hash > () - 4usize] ; ["Offset of field: ext2_dir_entry_hash::hash"] [:: std :: mem :: offset_of ! (ext2_dir_entry_hash , hash) - 0usize] ; ["Offset of field: ext2_dir_entry_hash::minor_hash"] [:: std :: mem :: offset_of ! (ext2_dir_entry_hash , minor_hash) - 4usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_dir_entry_tail { pub det_reserved_zero1 : __u32 , pub det_rec_len : __u16 , pub det_reserved_name_len : __u16 , pub det_checksum : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_dir_entry_tail"] [:: std :: mem :: size_of :: < ext2_dir_entry_tail > () - 12usize] ; ["Alignment of ext2_dir_entry_tail"] [:: std :: mem :: align_of :: < ext2_dir_entry_tail > () - 4usize] ; ["Offset of field: ext2_dir_entry_tail::det_reserved_zero1"] [:: std :: mem :: offset_of ! (ext2_dir_entry_tail , det_reserved_zero1) - 0usize] ; ["Offset of field: ext2_dir_entry_tail::det_rec_len"] [:: std :: mem :: offset_of ! (ext2_dir_entry_tail , det_rec_len) - 4usize] ; ["Offset of field: ext2_dir_entry_tail::det_reserved_name_len"] [:: std :: mem :: offset_of ! (ext2_dir_entry_tail , det_reserved_name_len) - 6usize] ; ["Offset of field: ext2_dir_entry_tail::det_checksum"] [:: std :: mem :: offset_of ! (ext2_dir_entry_tail , det_checksum) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext4_orphan_block_tail { pub ob_magic : __u32 , pub ob_checksum : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext4_orphan_block_tail"] [:: std :: mem :: size_of :: < ext4_orphan_block_tail > () - 8usize] ; ["Alignment of ext4_orphan_block_tail"] [:: std :: mem :: align_of :: < ext4_orphan_block_tail > () - 4usize] ; ["Offset of field: ext4_orphan_block_tail::ob_magic"] [:: std :: mem :: offset_of ! (ext4_orphan_block_tail , ob_magic) - 0usize] ; ["Offset of field: ext4_orphan_block_tail::ob_checksum"] [:: std :: mem :: offset_of ! (ext4_orphan_block_tail , ob_checksum) - 4usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct mmp_struct { pub mmp_magic : __u32 , pub mmp_seq : __u32 , pub mmp_time : __u64 , pub mmp_nodename : [__u8 ; 64usize] , pub mmp_bdevname : [__u8 ; 32usize] , pub mmp_check_interval : __u16 , pub mmp_pad1 : __u16 , pub mmp_pad2 : [__u32 ; 226usize] , pub mmp_checksum : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of mmp_struct"] [:: std :: mem :: size_of :: < mmp_struct > () - 1024usize] ; ["Alignment of mmp_struct"] [:: std :: mem :: align_of :: < mmp_struct > () - 8usize] ; ["Offset of field: mmp_struct::mmp_magic"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_magic) - 0usize] ; ["Offset of field: mmp_struct::mmp_seq"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_seq) - 4usize] ; ["Offset of field: mmp_struct::mmp_time"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_time) - 8usize] ; ["Offset of field: mmp_struct::mmp_nodename"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_nodename) - 16usize] ; ["Offset of field: mmp_struct::mmp_bdevname"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_bdevname) - 80usize] ; ["Offset of field: mmp_struct::mmp_check_interval"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_check_interval) - 112usize] ; ["Offset of field: mmp_struct::mmp_pad1"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_pad1) - 114usize] ; ["Offset of field: mmp_struct::mmp_pad2"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_pad2) - 116usize] ; ["Offset of field: mmp_struct::mmp_checksum"] [:: std :: mem :: offset_of ! (mmp_struct , mmp_checksum) - 1020usize] ; } ; unsafe extern "C" { pub fn e2p_list_journal_super (f : * mut FILE , journal_sb_buf : * mut :: std :: os :: raw :: c_char , exp_block_size : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn e2p_feature_to_string (compat : :: std :: os :: raw :: c_int , mask : :: std :: os :: raw :: c_uint , buf : * mut :: std :: os :: raw :: c_char , buf_len : usize) ; } unsafe extern "C" { pub fn e2p_feature2string (compat : :: std :: os :: raw :: c_int , mask : :: std :: os :: raw :: c_uint) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_jrnl_feature2string (compat : :: std :: os :: raw :: c_int , mask : :: std :: os :: raw :: c_uint) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_string2feature (string : * mut :: std :: os :: raw :: c_char , compat : * mut :: std :: os :: raw :: c_int , mask : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_jrnl_string2feature (string : * mut :: std :: os :: raw :: c_char , compat_type : * mut :: std :: os :: raw :: c_int , mask : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_edit_feature (str_ : * const :: std :: os :: raw :: c_char , compat_array : * mut __u32 , ok_array : * mut __u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_edit_feature2 (str_ : * const :: std :: os :: raw :: c_char , compat_array : * mut __u32 , ok_array : * mut __u32 , clear_ok_array : * mut __u32 , type_err : * mut :: std :: os :: raw :: c_int , mask_err : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_is_null_uuid (uu : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_uuid_to_str (uu : * mut :: std :: os :: raw :: c_void , out : * mut :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn e2p_uuid2str (uu : * mut :: std :: os :: raw :: c_void) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_hash2string (num : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_string2hash (string : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_mntopt2string (mask : :: std :: os :: raw :: c_uint) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_string2mntopt (string : * mut :: std :: os :: raw :: c_char , mask : * mut :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_edit_mntopts (str_ : * const :: std :: os :: raw :: c_char , mntopts : * mut __u32 , ok : __u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_os2string (os_type : :: std :: os :: raw :: c_int) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_string2os (str_ : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_percent (percent : :: std :: os :: raw :: c_int , base : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_uint ; } unsafe extern "C" { pub fn e2p_encmode2string (num : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_string2encmode (string : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_str2encoding (string : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_encoding2str (encoding : :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn e2p_get_encoding_flags (encoding : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_str2encoding_flags (encoding : :: std :: os :: raw :: c_int , param : * mut :: std :: os :: raw :: c_char , flags : * mut __u16) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn e2p_errcode2str (err : :: std :: os :: raw :: c_uint) -> * const :: std :: os :: raw :: c_char ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext3_extent_header { pub eh_magic : __le16 , pub eh_entries : __le16 , pub eh_max : __le16 , pub eh_depth : __le16 , pub eh_generation : __le32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext3_extent_header"] [:: std :: mem :: size_of :: < ext3_extent_header > () - 12usize] ; ["Alignment of ext3_extent_header"] [:: std :: mem :: align_of :: < ext3_extent_header > () - 4usize] ; ["Offset of field: ext3_extent_header::eh_magic"] [:: std :: mem :: offset_of ! (ext3_extent_header , eh_magic) - 0usize] ; ["Offset of field: ext3_extent_header::eh_entries"] [:: std :: mem :: offset_of ! (ext3_extent_header , eh_entries) - 2usize] ; ["Offset of field: ext3_extent_header::eh_max"] [:: std :: mem :: offset_of ! (ext3_extent_header , eh_max) - 4usize] ; ["Offset of field: ext3_extent_header::eh_depth"] [:: std :: mem :: offset_of ! (ext3_extent_header , eh_depth) - 6usize] ; ["Offset of field: ext3_extent_header::eh_generation"] [:: std :: mem :: offset_of ! (ext3_extent_header , eh_generation) - 8usize] ; } ; pub type ext2_ino_t = __u32 ; pub type blk_t = __u32 ; pub type blk64_t = __u64 ; pub type dgrp_t = __u32 ; pub type ext2_off_t = __s32 ; pub type ext2_off64_t = __s64 ; pub type e2_blkcnt_t = __s64 ; pub type ext2_dirhash_t = __u32 ; pub type ext2_loff_t = :: std :: os :: raw :: c_longlong ; unsafe extern "C" { pub fn ext2fs_llseek (arg1 : :: std :: os :: raw :: c_int , arg2 : ext2_loff_t , arg3 : :: std :: os :: raw :: c_int) -> ext2_loff_t ; } pub type io_manager = * mut struct_io_manager ; pub type io_channel = * mut struct_io_channel ; pub type io_stats = * mut struct_io_stats ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct struct_io_channel { pub magic : errcode_t , pub manager : io_manager , pub name : * mut :: std :: os :: raw :: c_char , pub block_size : :: std :: os :: raw :: c_int , pub read_error : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulong , count : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void , size : usize , actual_bytes_read : :: std :: os :: raw :: c_int , error : errcode_t) -> errcode_t > , pub write_error : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulong , count : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void , size : usize , actual_bytes_written : :: std :: os :: raw :: c_int , error : errcode_t) -> errcode_t > , pub refcount : :: std :: os :: raw :: c_int , pub flags : :: std :: os :: raw :: c_int , pub reserved : [:: std :: os :: raw :: c_long ; 14usize] , pub private_data : * mut :: std :: os :: raw :: c_void , pub app_data : * mut :: std :: os :: raw :: c_void , pub align : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of struct_io_channel"] [:: std :: mem :: size_of :: < struct_io_channel > () - 192usize] ; ["Alignment of struct_io_channel"] [:: std :: mem :: align_of :: < struct_io_channel > () - 8usize] ; ["Offset of field: struct_io_channel::magic"] [:: std :: mem :: offset_of ! (struct_io_channel , magic) - 0usize] ; ["Offset of field: struct_io_channel::manager"] [:: std :: mem :: offset_of ! (struct_io_channel , manager) - 8usize] ; ["Offset of field: struct_io_channel::name"] [:: std :: mem :: offset_of ! (struct_io_channel , name) - 16usize] ; ["Offset of field: struct_io_channel::block_size"] [:: std :: mem :: offset_of ! (struct_io_channel , block_size) - 24usize] ; ["Offset of field: struct_io_channel::read_error"] [:: std :: mem :: offset_of ! (struct_io_channel , read_error) - 32usize] ; ["Offset of field: struct_io_channel::write_error"] [:: std :: mem :: offset_of ! (struct_io_channel , write_error) - 40usize] ; ["Offset of field: struct_io_channel::refcount"] [:: std :: mem :: offset_of ! (struct_io_channel , refcount) - 48usize] ; ["Offset of field: struct_io_channel::flags"] [:: std :: mem :: offset_of ! (struct_io_channel , flags) - 52usize] ; ["Offset of field: struct_io_channel::reserved"] [:: std :: mem :: offset_of ! (struct_io_channel , reserved) - 56usize] ; ["Offset of field: struct_io_channel::private_data"] [:: std :: mem :: offset_of ! (struct_io_channel , private_data) - 168usize] ; ["Offset of field: struct_io_channel::app_data"] [:: std :: mem :: offset_of ! (struct_io_channel , app_data) - 176usize] ; ["Offset of field: struct_io_channel::align"] [:: std :: mem :: offset_of ! (struct_io_channel , align) - 184usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct struct_io_stats { pub num_fields : :: std :: os :: raw :: c_int , pub reserved : :: std :: os :: raw :: c_int , pub bytes_read : :: std :: os :: raw :: c_ulonglong , pub bytes_written : :: std :: os :: raw :: c_ulonglong , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of struct_io_stats"] [:: std :: mem :: size_of :: < struct_io_stats > () - 24usize] ; ["Alignment of struct_io_stats"] [:: std :: mem :: align_of :: < struct_io_stats > () - 8usize] ; ["Offset of field: struct_io_stats::num_fields"] [:: std :: mem :: offset_of ! (struct_io_stats , num_fields) - 0usize] ; ["Offset of field: struct_io_stats::reserved"] [:: std :: mem :: offset_of ! (struct_io_stats , reserved) - 4usize] ; ["Offset of field: struct_io_stats::bytes_read"] [:: std :: mem :: offset_of ! (struct_io_stats , bytes_read) - 8usize] ; ["Offset of field: struct_io_stats::bytes_written"] [:: std :: mem :: offset_of ! (struct_io_stats , bytes_written) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct struct_io_manager { pub magic : errcode_t , pub name : * const :: std :: os :: raw :: c_char , pub open : :: std :: option :: Option < unsafe extern "C" fn (name : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , channel : * mut io_channel) -> errcode_t > , pub close : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel) -> errcode_t > , pub set_blksize : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , blksize : :: std :: os :: raw :: c_int) -> errcode_t > , pub read_blk : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulong , count : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> errcode_t > , pub write_blk : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulong , count : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) -> errcode_t > , pub flush : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel) -> errcode_t > , pub write_byte : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , offset : :: std :: os :: raw :: c_ulong , count : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) -> errcode_t > , pub set_option : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , option : * const :: std :: os :: raw :: c_char , arg : * const :: std :: os :: raw :: c_char) -> errcode_t > , pub get_stats : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , io_stats : * mut io_stats) -> errcode_t > , pub read_blk64 : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulonglong , count : :: std :: os :: raw :: c_int , data : * mut :: std :: os :: raw :: c_void) -> errcode_t > , pub write_blk64 : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulonglong , count : :: std :: os :: raw :: c_int , data : * const :: std :: os :: raw :: c_void) -> errcode_t > , pub discard : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulonglong , count : :: std :: os :: raw :: c_ulonglong) -> errcode_t > , pub cache_readahead : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulonglong , count : :: std :: os :: raw :: c_ulonglong) -> errcode_t > , pub zeroout : :: std :: option :: Option < unsafe extern "C" fn (channel : io_channel , block : :: std :: os :: raw :: c_ulonglong , count : :: std :: os :: raw :: c_ulonglong) -> errcode_t > , pub reserved : [:: std :: os :: raw :: c_long ; 14usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of struct_io_manager"] [:: std :: mem :: size_of :: < struct_io_manager > () - 240usize] ; ["Alignment of struct_io_manager"] [:: std :: mem :: align_of :: < struct_io_manager > () - 8usize] ; ["Offset of field: struct_io_manager::magic"] [:: std :: mem :: offset_of ! (struct_io_manager , magic) - 0usize] ; ["Offset of field: struct_io_manager::name"] [:: std :: mem :: offset_of ! (struct_io_manager , name) - 8usize] ; ["Offset of field: struct_io_manager::open"] [:: std :: mem :: offset_of ! (struct_io_manager , open) - 16usize] ; ["Offset of field: struct_io_manager::close"] [:: std :: mem :: offset_of ! (struct_io_manager , close) - 24usize] ; ["Offset of field: struct_io_manager::set_blksize"] [:: std :: mem :: offset_of ! (struct_io_manager , set_blksize) - 32usize] ; ["Offset of field: struct_io_manager::read_blk"] [:: std :: mem :: offset_of ! (struct_io_manager , read_blk) - 40usize] ; ["Offset of field: struct_io_manager::write_blk"] [:: std :: mem :: offset_of ! (struct_io_manager , write_blk) - 48usize] ; ["Offset of field: struct_io_manager::flush"] [:: std :: mem :: offset_of ! (struct_io_manager , flush) - 56usize] ; ["Offset of field: struct_io_manager::write_byte"] [:: std :: mem :: offset_of ! (struct_io_manager , write_byte) - 64usize] ; ["Offset of field: struct_io_manager::set_option"] [:: std :: mem :: offset_of ! (struct_io_manager , set_option) - 72usize] ; ["Offset of field: struct_io_manager::get_stats"] [:: std :: mem :: offset_of ! (struct_io_manager , get_stats) - 80usize] ; ["Offset of field: struct_io_manager::read_blk64"] [:: std :: mem :: offset_of ! (struct_io_manager , read_blk64) - 88usize] ; ["Offset of field: struct_io_manager::write_blk64"] [:: std :: mem :: offset_of ! (struct_io_manager , write_blk64) - 96usize] ; ["Offset of field: struct_io_manager::discard"] [:: std :: mem :: offset_of ! (struct_io_manager , discard) - 104usize] ; ["Offset of field: struct_io_manager::cache_readahead"] [:: std :: mem :: offset_of ! (struct_io_manager , cache_readahead) - 112usize] ; ["Offset of field: struct_io_manager::zeroout"] [:: std :: mem :: offset_of ! (struct_io_manager , zeroout) - 120usize] ; ["Offset of field: struct_io_manager::reserved"] [:: std :: mem :: offset_of ! (struct_io_manager , reserved) - 128usize] ; } ; unsafe extern "C" { pub static mut unix_io_manager : io_manager ; } unsafe extern "C" { pub static mut unixfd_io_manager : io_manager ; } unsafe extern "C" { pub static mut sparse_io_manager : io_manager ; } unsafe extern "C" { pub static mut sparsefd_io_manager : io_manager ; } unsafe extern "C" { pub static mut undo_io_manager : io_manager ; } unsafe extern "C" { pub static mut test_io_manager : io_manager ; } unsafe extern "C" { pub static et_ext2_error_table : error_table ; } unsafe extern "C" { pub fn initialize_ext2_error_table () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_ext_attr_header { pub h_magic : __u32 , pub h_refcount : __u32 , pub h_blocks : __u32 , pub h_hash : __u32 , pub h_checksum : __u32 , pub h_reserved : [__u32 ; 3usize] , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_ext_attr_header"] [:: std :: mem :: size_of :: < ext2_ext_attr_header > () - 32usize] ; ["Alignment of ext2_ext_attr_header"] [:: std :: mem :: align_of :: < ext2_ext_attr_header > () - 4usize] ; ["Offset of field: ext2_ext_attr_header::h_magic"] [:: std :: mem :: offset_of ! (ext2_ext_attr_header , h_magic) - 0usize] ; ["Offset of field: ext2_ext_attr_header::h_refcount"] [:: std :: mem :: offset_of ! (ext2_ext_attr_header , h_refcount) - 4usize] ; ["Offset of field: ext2_ext_attr_header::h_blocks"] [:: std :: mem :: offset_of ! (ext2_ext_attr_header , h_blocks) - 8usize] ; ["Offset of field: ext2_ext_attr_header::h_hash"] [:: std :: mem :: offset_of ! (ext2_ext_attr_header , h_hash) - 12usize] ; ["Offset of field: ext2_ext_attr_header::h_checksum"] [:: std :: mem :: offset_of ! (ext2_ext_attr_header , h_checksum) - 16usize] ; ["Offset of field: ext2_ext_attr_header::h_reserved"] [:: std :: mem :: offset_of ! (ext2_ext_attr_header , h_reserved) - 20usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_ext_attr_entry { pub e_name_len : __u8 , pub e_name_index : __u8 , pub e_value_offs : __u16 , pub e_value_inum : __u32 , pub e_value_size : __u32 , pub e_hash : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_ext_attr_entry"] [:: std :: mem :: size_of :: < ext2_ext_attr_entry > () - 16usize] ; ["Alignment of ext2_ext_attr_entry"] [:: std :: mem :: align_of :: < ext2_ext_attr_entry > () - 4usize] ; ["Offset of field: ext2_ext_attr_entry::e_name_len"] [:: std :: mem :: offset_of ! (ext2_ext_attr_entry , e_name_len) - 0usize] ; ["Offset of field: ext2_ext_attr_entry::e_name_index"] [:: std :: mem :: offset_of ! (ext2_ext_attr_entry , e_name_index) - 1usize] ; ["Offset of field: ext2_ext_attr_entry::e_value_offs"] [:: std :: mem :: offset_of ! (ext2_ext_attr_entry , e_value_offs) - 2usize] ; ["Offset of field: ext2_ext_attr_entry::e_value_inum"] [:: std :: mem :: offset_of ! (ext2_ext_attr_entry , e_value_inum) - 4usize] ; ["Offset of field: ext2_ext_attr_entry::e_value_size"] [:: std :: mem :: offset_of ! (ext2_ext_attr_entry , e_value_size) - 8usize] ; ["Offset of field: ext2_ext_attr_entry::e_hash"] [:: std :: mem :: offset_of ! (ext2_ext_attr_entry , e_hash) - 12usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_hashmap { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_hashmap_entry { pub data : * mut :: std :: os :: raw :: c_void , pub key : * const :: std :: os :: raw :: c_void , pub key_len : usize , pub next : * mut ext2fs_hashmap_entry , pub list_next : * mut ext2fs_hashmap_entry , pub list_prev : * mut ext2fs_hashmap_entry , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2fs_hashmap_entry"] [:: std :: mem :: size_of :: < ext2fs_hashmap_entry > () - 48usize] ; ["Alignment of ext2fs_hashmap_entry"] [:: std :: mem :: align_of :: < ext2fs_hashmap_entry > () - 8usize] ; ["Offset of field: ext2fs_hashmap_entry::data"] [:: std :: mem :: offset_of ! (ext2fs_hashmap_entry , data) - 0usize] ; ["Offset of field: ext2fs_hashmap_entry::key"] [:: std :: mem :: offset_of ! (ext2fs_hashmap_entry , key) - 8usize] ; ["Offset of field: ext2fs_hashmap_entry::key_len"] [:: std :: mem :: offset_of ! (ext2fs_hashmap_entry , key_len) - 16usize] ; ["Offset of field: ext2fs_hashmap_entry::next"] [:: std :: mem :: offset_of ! (ext2fs_hashmap_entry , next) - 24usize] ; ["Offset of field: ext2fs_hashmap_entry::list_next"] [:: std :: mem :: offset_of ! (ext2fs_hashmap_entry , list_next) - 32usize] ; ["Offset of field: ext2fs_hashmap_entry::list_prev"] [:: std :: mem :: offset_of ! (ext2fs_hashmap_entry , list_prev) - 40usize] ; } ; unsafe extern "C" { pub fn ext2fs_hashmap_create (hash_fct : :: std :: option :: Option < unsafe extern "C" fn (arg1 : * const :: std :: os :: raw :: c_void , arg2 : usize) -> u32 > , free_fct : :: std :: option :: Option < unsafe extern "C" fn (arg1 : * mut :: std :: os :: raw :: c_void) > , size : usize) -> * mut ext2fs_hashmap ; } unsafe extern "C" { pub fn ext2fs_hashmap_add (h : * mut ext2fs_hashmap , data : * mut :: std :: os :: raw :: c_void , key : * const :: std :: os :: raw :: c_void , key_len : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_hashmap_lookup (h : * mut ext2fs_hashmap , key : * const :: std :: os :: raw :: c_void , key_len : usize) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn ext2fs_hashmap_iter_in_order (h : * mut ext2fs_hashmap , it : * mut * mut ext2fs_hashmap_entry) -> * mut :: std :: os :: raw :: c_void ; } unsafe extern "C" { pub fn ext2fs_hashmap_del (h : * mut ext2fs_hashmap , e : * mut ext2fs_hashmap_entry) ; } unsafe extern "C" { pub fn ext2fs_hashmap_free (h : * mut ext2fs_hashmap) ; } unsafe extern "C" { pub fn ext2fs_djb2_hash (str_ : * const :: std :: os :: raw :: c_void , size : usize) -> u32 ; } pub type ext2_filsys = * mut struct_ext2_filsys ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_struct_generic_bitmap_base { pub magic : errcode_t , pub fs : ext2_filsys , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2fs_struct_generic_bitmap_base"] [:: std :: mem :: size_of :: < ext2fs_struct_generic_bitmap_base > () - 16usize] ; ["Alignment of ext2fs_struct_generic_bitmap_base"] [:: std :: mem :: align_of :: < ext2fs_struct_generic_bitmap_base > () - 8usize] ; ["Offset of field: ext2fs_struct_generic_bitmap_base::magic"] [:: std :: mem :: offset_of ! (ext2fs_struct_generic_bitmap_base , magic) - 0usize] ; ["Offset of field: ext2fs_struct_generic_bitmap_base::fs"] [:: std :: mem :: offset_of ! (ext2fs_struct_generic_bitmap_base , fs) - 8usize] ; } ; pub type ext2fs_generic_bitmap = * mut ext2fs_struct_generic_bitmap_base ; pub type ext2fs_inode_bitmap = * mut ext2fs_struct_generic_bitmap_base ; pub type ext2fs_block_bitmap = * mut ext2fs_struct_generic_bitmap_base ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_struct_u32_list { _unused : [u8 ; 0] , } pub type ext2_badblocks_list = * mut ext2_struct_u32_list ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_struct_u32_iterate { _unused : [u8 ; 0] , } pub type ext2_badblocks_iterate = * mut ext2_struct_u32_iterate ; pub type ext2_u32_list = * mut ext2_struct_u32_list ; pub type ext2_u32_iterate = * mut ext2_struct_u32_iterate ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_db_entry2 { pub ino : ext2_ino_t , pub blk : blk64_t , pub blockcnt : e2_blkcnt_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_db_entry2"] [:: std :: mem :: size_of :: < ext2_db_entry2 > () - 24usize] ; ["Alignment of ext2_db_entry2"] [:: std :: mem :: align_of :: < ext2_db_entry2 > () - 8usize] ; ["Offset of field: ext2_db_entry2::ino"] [:: std :: mem :: offset_of ! (ext2_db_entry2 , ino) - 0usize] ; ["Offset of field: ext2_db_entry2::blk"] [:: std :: mem :: offset_of ! (ext2_db_entry2 , blk) - 8usize] ; ["Offset of field: ext2_db_entry2::blockcnt"] [:: std :: mem :: offset_of ! (ext2_db_entry2 , blockcnt) - 16usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_db_entry { pub ino : ext2_ino_t , pub blk : blk_t , pub blockcnt : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_db_entry"] [:: std :: mem :: size_of :: < ext2_db_entry > () - 12usize] ; ["Alignment of ext2_db_entry"] [:: std :: mem :: align_of :: < ext2_db_entry > () - 4usize] ; ["Offset of field: ext2_db_entry::ino"] [:: std :: mem :: offset_of ! (ext2_db_entry , ino) - 0usize] ; ["Offset of field: ext2_db_entry::blk"] [:: std :: mem :: offset_of ! (ext2_db_entry , blk) - 4usize] ; ["Offset of field: ext2_db_entry::blockcnt"] [:: std :: mem :: offset_of ! (ext2_db_entry , blockcnt) - 8usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_struct_dblist { _unused : [u8 ; 0] , } pub type ext2_dblist = * mut ext2_struct_dblist ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_file { _unused : [u8 ; 0] , } pub type ext2_file_t = * mut ext2_file ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct opaque_ext2_group_desc { _unused : [u8 ; 0] , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct struct_ext2_filsys { pub magic : errcode_t , pub io : io_channel , pub flags : :: std :: os :: raw :: c_int , pub device_name : * mut :: std :: os :: raw :: c_char , pub super_ : * mut ext2_super_block , pub blocksize : :: std :: os :: raw :: c_uint , pub fragsize : :: std :: os :: raw :: c_int , pub group_desc_count : dgrp_t , pub desc_blocks : :: std :: os :: raw :: c_ulong , pub group_desc : * mut opaque_ext2_group_desc , pub inode_blocks_per_group : :: std :: os :: raw :: c_uint , pub inode_map : ext2fs_inode_bitmap , pub block_map : ext2fs_block_bitmap , pub get_blocks : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , ino : ext2_ino_t , blocks : * mut blk_t) -> errcode_t > , pub check_directory : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , ino : ext2_ino_t) -> errcode_t > , pub write_bitmaps : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys) -> errcode_t > , pub read_inode : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode) -> errcode_t > , pub write_inode : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode) -> errcode_t > , pub badblocks : ext2_badblocks_list , pub dblist : ext2_dblist , pub stride : __u32 , pub orig_super : * mut ext2_super_block , pub image_header : * mut ext2_image_hdr , pub umask : __u32 , pub now : time_t , pub cluster_ratio_bits : :: std :: os :: raw :: c_int , pub default_bitmap_type : __u16 , pub pad : __u16 , pub reserved : [__u32 ; 5usize] , pub priv_data : * mut :: std :: os :: raw :: c_void , pub icache : * mut ext2_inode_cache , pub image_io : io_channel , pub get_alloc_block : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , goal : blk64_t , ret : * mut blk64_t) -> errcode_t > , pub get_alloc_block2 : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , goal : blk64_t , ret : * mut blk64_t , ctx : * mut blk_alloc_ctx) -> errcode_t > , pub block_alloc_stats : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk64_t , inuse : :: std :: os :: raw :: c_int) > , pub mmp_buf : * mut :: std :: os :: raw :: c_void , pub mmp_cmp : * mut :: std :: os :: raw :: c_void , pub mmp_fd : :: std :: os :: raw :: c_int , pub mmp_last_written : :: std :: os :: raw :: c_long , pub progress_ops : * mut ext2fs_progress_ops , pub csum_seed : __u32 , pub journal_io : io_channel , pub journal_name : * mut :: std :: os :: raw :: c_char , pub new_range : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , goal : blk64_t , len : blk64_t , pblk : * mut blk64_t , plen : * mut blk64_t) -> errcode_t > , pub block_alloc_stats_range : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk64_t , num : blk_t , inuse : :: std :: os :: raw :: c_int) > , pub block_sha_map : * mut ext2fs_hashmap , pub encoding : * mut ext2fs_nls_table , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of struct_ext2_filsys"] [:: std :: mem :: size_of :: < struct_ext2_filsys > () - 368usize] ; ["Alignment of struct_ext2_filsys"] [:: std :: mem :: align_of :: < struct_ext2_filsys > () - 8usize] ; ["Offset of field: struct_ext2_filsys::magic"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , magic) - 0usize] ; ["Offset of field: struct_ext2_filsys::io"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , io) - 8usize] ; ["Offset of field: struct_ext2_filsys::flags"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , flags) - 16usize] ; ["Offset of field: struct_ext2_filsys::device_name"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , device_name) - 24usize] ; ["Offset of field: struct_ext2_filsys::super_"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , super_) - 32usize] ; ["Offset of field: struct_ext2_filsys::blocksize"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , blocksize) - 40usize] ; ["Offset of field: struct_ext2_filsys::fragsize"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , fragsize) - 44usize] ; ["Offset of field: struct_ext2_filsys::group_desc_count"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , group_desc_count) - 48usize] ; ["Offset of field: struct_ext2_filsys::desc_blocks"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , desc_blocks) - 56usize] ; ["Offset of field: struct_ext2_filsys::group_desc"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , group_desc) - 64usize] ; ["Offset of field: struct_ext2_filsys::inode_blocks_per_group"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , inode_blocks_per_group) - 72usize] ; ["Offset of field: struct_ext2_filsys::inode_map"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , inode_map) - 80usize] ; ["Offset of field: struct_ext2_filsys::block_map"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , block_map) - 88usize] ; ["Offset of field: struct_ext2_filsys::get_blocks"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , get_blocks) - 96usize] ; ["Offset of field: struct_ext2_filsys::check_directory"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , check_directory) - 104usize] ; ["Offset of field: struct_ext2_filsys::write_bitmaps"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , write_bitmaps) - 112usize] ; ["Offset of field: struct_ext2_filsys::read_inode"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , read_inode) - 120usize] ; ["Offset of field: struct_ext2_filsys::write_inode"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , write_inode) - 128usize] ; ["Offset of field: struct_ext2_filsys::badblocks"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , badblocks) - 136usize] ; ["Offset of field: struct_ext2_filsys::dblist"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , dblist) - 144usize] ; ["Offset of field: struct_ext2_filsys::stride"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , stride) - 152usize] ; ["Offset of field: struct_ext2_filsys::orig_super"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , orig_super) - 160usize] ; ["Offset of field: struct_ext2_filsys::image_header"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , image_header) - 168usize] ; ["Offset of field: struct_ext2_filsys::umask"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , umask) - 176usize] ; ["Offset of field: struct_ext2_filsys::now"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , now) - 184usize] ; ["Offset of field: struct_ext2_filsys::cluster_ratio_bits"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , cluster_ratio_bits) - 192usize] ; ["Offset of field: struct_ext2_filsys::default_bitmap_type"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , default_bitmap_type) - 196usize] ; ["Offset of field: struct_ext2_filsys::pad"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , pad) - 198usize] ; ["Offset of field: struct_ext2_filsys::reserved"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , reserved) - 200usize] ; ["Offset of field: struct_ext2_filsys::priv_data"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , priv_data) - 224usize] ; ["Offset of field: struct_ext2_filsys::icache"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , icache) - 232usize] ; ["Offset of field: struct_ext2_filsys::image_io"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , image_io) - 240usize] ; ["Offset of field: struct_ext2_filsys::get_alloc_block"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , get_alloc_block) - 248usize] ; ["Offset of field: struct_ext2_filsys::get_alloc_block2"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , get_alloc_block2) - 256usize] ; ["Offset of field: struct_ext2_filsys::block_alloc_stats"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , block_alloc_stats) - 264usize] ; ["Offset of field: struct_ext2_filsys::mmp_buf"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , mmp_buf) - 272usize] ; ["Offset of field: struct_ext2_filsys::mmp_cmp"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , mmp_cmp) - 280usize] ; ["Offset of field: struct_ext2_filsys::mmp_fd"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , mmp_fd) - 288usize] ; ["Offset of field: struct_ext2_filsys::mmp_last_written"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , mmp_last_written) - 296usize] ; ["Offset of field: struct_ext2_filsys::progress_ops"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , progress_ops) - 304usize] ; ["Offset of field: struct_ext2_filsys::csum_seed"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , csum_seed) - 312usize] ; ["Offset of field: struct_ext2_filsys::journal_io"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , journal_io) - 320usize] ; ["Offset of field: struct_ext2_filsys::journal_name"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , journal_name) - 328usize] ; ["Offset of field: struct_ext2_filsys::new_range"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , new_range) - 336usize] ; ["Offset of field: struct_ext2_filsys::block_alloc_stats_range"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , block_alloc_stats_range) - 344usize] ; ["Offset of field: struct_ext2_filsys::block_sha_map"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , block_sha_map) - 352usize] ; ["Offset of field: struct_ext2_filsys::encoding"] [:: std :: mem :: offset_of ! (struct_ext2_filsys , encoding) - 360usize] ; } ; unsafe extern "C" { pub fn ext2fs_warn_bitmap (errcode : errcode_t , arg : :: std :: os :: raw :: c_ulong , description : * const :: std :: os :: raw :: c_char) ; } unsafe extern "C" { pub fn ext2fs_warn_bitmap2 (bitmap : ext2fs_generic_bitmap , code : :: std :: os :: raw :: c_int , arg : :: std :: os :: raw :: c_ulong) ; } unsafe extern "C" { pub fn ext2fs_fast_set_bit (nr : :: std :: os :: raw :: c_uint , addr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn ext2fs_fast_clear_bit (nr : :: std :: os :: raw :: c_uint , addr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn ext2fs_fast_set_bit64 (nr : __u64 , addr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn ext2fs_fast_clear_bit64 (nr : __u64 , addr : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn ext2fs_swab16 (val : __u16) -> __u16 ; } unsafe extern "C" { pub fn ext2fs_swab32 (val : __u32) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_swab64 (val : __u64) -> __u64 ; } unsafe extern "C" { pub fn ext2fs_mark_block_bitmap (bitmap : ext2fs_block_bitmap , block : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_unmark_block_bitmap (bitmap : ext2fs_block_bitmap , block : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_block_bitmap (bitmap : ext2fs_block_bitmap , block : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mark_inode_bitmap (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_unmark_inode_bitmap (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_inode_bitmap (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_fast_mark_block_bitmap (bitmap : ext2fs_block_bitmap , block : blk_t) ; } unsafe extern "C" { pub fn ext2fs_fast_unmark_block_bitmap (bitmap : ext2fs_block_bitmap , block : blk_t) ; } unsafe extern "C" { pub fn ext2fs_fast_test_block_bitmap (bitmap : ext2fs_block_bitmap , block : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_fast_mark_inode_bitmap (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) ; } unsafe extern "C" { pub fn ext2fs_fast_unmark_inode_bitmap (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) ; } unsafe extern "C" { pub fn ext2fs_fast_test_inode_bitmap (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_get_block_bitmap_start (bitmap : ext2fs_block_bitmap) -> blk_t ; } unsafe extern "C" { pub fn ext2fs_get_inode_bitmap_start (bitmap : ext2fs_inode_bitmap) -> ext2_ino_t ; } unsafe extern "C" { pub fn ext2fs_get_block_bitmap_end (bitmap : ext2fs_block_bitmap) -> blk_t ; } unsafe extern "C" { pub fn ext2fs_get_inode_bitmap_end (bitmap : ext2fs_inode_bitmap) -> ext2_ino_t ; } unsafe extern "C" { pub fn ext2fs_fast_mark_block_bitmap_range (bitmap : ext2fs_block_bitmap , block : blk_t , num : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_fast_unmark_block_bitmap_range (bitmap : ext2fs_block_bitmap , block : blk_t , num : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_fast_test_block_bitmap_range (bitmap : ext2fs_block_bitmap , block : blk_t , num : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mark_block_bitmap_range (bitmap : ext2fs_block_bitmap , block : blk_t , num : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_unmark_block_bitmap_range (bitmap : ext2fs_block_bitmap , block : blk_t , num : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_test_block_bitmap_range (bitmap : ext2fs_block_bitmap , block : blk_t , num : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_inode_bitmap_range (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t , num : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mark_generic_bitmap (bitmap : ext2fs_generic_bitmap , bitno : __u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_unmark_generic_bitmap (bitmap : ext2fs_generic_bitmap , bitno : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_generic_bitmap (bitmap : ext2fs_generic_bitmap , bitno : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_set_bitmap_padding (map : ext2fs_generic_bitmap) ; } unsafe extern "C" { pub fn ext2fs_get_generic_bitmap_start (bitmap : ext2fs_generic_bitmap) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_get_generic_bitmap_end (bitmap : ext2fs_generic_bitmap) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_mark_block_bitmap2 (bitmap : ext2fs_block_bitmap , block : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_unmark_block_bitmap2 (bitmap : ext2fs_block_bitmap , block : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_block_bitmap2 (bitmap : ext2fs_block_bitmap , block : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mark_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_unmark_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_fast_mark_block_bitmap2 (bitmap : ext2fs_block_bitmap , block : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_fast_unmark_block_bitmap2 (bitmap : ext2fs_block_bitmap , block : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_fast_test_block_bitmap2 (bitmap : ext2fs_block_bitmap , block : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_fast_mark_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) ; } unsafe extern "C" { pub fn ext2fs_fast_unmark_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) ; } unsafe extern "C" { pub fn ext2fs_fast_test_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , inode : ext2_ino_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_find_first_zero_block_bitmap2 (bitmap : ext2fs_block_bitmap , start : blk64_t , end : blk64_t , out : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_first_zero_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , start : ext2_ino_t , end : ext2_ino_t , out : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_first_set_block_bitmap2 (bitmap : ext2fs_block_bitmap , start : blk64_t , end : blk64_t , out : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_first_set_inode_bitmap2 (bitmap : ext2fs_inode_bitmap , start : ext2_ino_t , end : ext2_ino_t , out : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_block_bitmap_start2 (bitmap : ext2fs_block_bitmap) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_get_inode_bitmap_start2 (bitmap : ext2fs_inode_bitmap) -> ext2_ino_t ; } unsafe extern "C" { pub fn ext2fs_get_block_bitmap_end2 (bitmap : ext2fs_block_bitmap) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_get_inode_bitmap_end2 (bitmap : ext2fs_inode_bitmap) -> ext2_ino_t ; } unsafe extern "C" { pub fn ext2fs_fast_test_block_bitmap_range2 (bitmap : ext2fs_block_bitmap , block : blk64_t , num : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_fast_mark_block_bitmap_range2 (bitmap : ext2fs_block_bitmap , block : blk64_t , num : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn ext2fs_fast_unmark_block_bitmap_range2 (bitmap : ext2fs_block_bitmap , block : blk64_t , num : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn ext2fs_clear_generic_bmap (bitmap : ext2fs_generic_bitmap) ; } unsafe extern "C" { pub fn ext2fs_compare_generic_bmap (neq : errcode_t , bm1 : ext2fs_generic_bitmap , bm2 : ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_generic_bmap_padding (bmap : ext2fs_generic_bitmap) ; } unsafe extern "C" { pub fn ext2fs_mark_generic_bmap (bitmap : ext2fs_generic_bitmap , bitno : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_unmark_generic_bmap (bitmap : ext2fs_generic_bitmap , bitno : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_generic_bmap (bitmap : ext2fs_generic_bitmap , bitno : blk64_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_block_bitmap_range2 (bitmap : ext2fs_block_bitmap , block : blk64_t , num : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_get_generic_bmap_start (bitmap : ext2fs_generic_bitmap) -> __u64 ; } unsafe extern "C" { pub fn ext2fs_get_generic_bmap_end (bitmap : ext2fs_generic_bitmap) -> __u64 ; } unsafe extern "C" { pub fn ext2fs_mark_block_bitmap_range2 (bitmap : ext2fs_block_bitmap , block : blk64_t , num : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn ext2fs_unmark_block_bitmap_range2 (bitmap : ext2fs_block_bitmap , block : blk64_t , num : :: std :: os :: raw :: c_uint) ; } unsafe extern "C" { pub fn ext2fs_find_first_zero_generic_bmap (bitmap : ext2fs_generic_bitmap , start : __u64 , end : __u64 , out : * mut __u64) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_first_set_generic_bmap (bitmap : ext2fs_generic_bitmap , start : __u64 , end : __u64 , out : * mut __u64) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_bit (nr : :: std :: os :: raw :: c_uint , addr : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_clear_bit (nr : :: std :: os :: raw :: c_uint , addr : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_bit (nr : :: std :: os :: raw :: c_uint , addr : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_set_bit64 (nr : __u64 , addr : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_clear_bit64 (nr : __u64 , addr : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_bit64 (nr : __u64 , addr : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_bitcount (addr : * const :: std :: os :: raw :: c_void , nbytes : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_uint ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct blk_alloc_ctx { pub ino : ext2_ino_t , pub inode : * mut ext2_inode , pub lblk : blk64_t , pub flags : :: std :: os :: raw :: c_int , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of blk_alloc_ctx"] [:: std :: mem :: size_of :: < blk_alloc_ctx > () - 32usize] ; ["Alignment of blk_alloc_ctx"] [:: std :: mem :: align_of :: < blk_alloc_ctx > () - 8usize] ; ["Offset of field: blk_alloc_ctx::ino"] [:: std :: mem :: offset_of ! (blk_alloc_ctx , ino) - 0usize] ; ["Offset of field: blk_alloc_ctx::inode"] [:: std :: mem :: offset_of ! (blk_alloc_ctx , inode) - 8usize] ; ["Offset of field: blk_alloc_ctx::lblk"] [:: std :: mem :: offset_of ! (blk_alloc_ctx , lblk) - 16usize] ; ["Offset of field: blk_alloc_ctx::flags"] [:: std :: mem :: offset_of ! (blk_alloc_ctx , flags) - 24usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_extent { pub e_pblk : blk64_t , pub e_lblk : blk64_t , pub e_len : __u32 , pub e_flags : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2fs_extent"] [:: std :: mem :: size_of :: < ext2fs_extent > () - 24usize] ; ["Alignment of ext2fs_extent"] [:: std :: mem :: align_of :: < ext2fs_extent > () - 8usize] ; ["Offset of field: ext2fs_extent::e_pblk"] [:: std :: mem :: offset_of ! (ext2fs_extent , e_pblk) - 0usize] ; ["Offset of field: ext2fs_extent::e_lblk"] [:: std :: mem :: offset_of ! (ext2fs_extent , e_lblk) - 8usize] ; ["Offset of field: ext2fs_extent::e_len"] [:: std :: mem :: offset_of ! (ext2fs_extent , e_len) - 16usize] ; ["Offset of field: ext2fs_extent::e_flags"] [:: std :: mem :: offset_of ! (ext2fs_extent , e_flags) - 20usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_extent_handle { _unused : [u8 ; 0] , } pub type ext2_extent_handle_t = * mut ext2_extent_handle ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_extent_path { _unused : [u8 ; 0] , } pub type ext2_extent_path_t = * mut ext2_extent_path ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_extent_info { pub curr_entry : :: std :: os :: raw :: c_int , pub curr_level : :: std :: os :: raw :: c_int , pub num_entries : :: std :: os :: raw :: c_int , pub max_entries : :: std :: os :: raw :: c_int , pub max_depth : :: std :: os :: raw :: c_int , pub bytes_avail : :: std :: os :: raw :: c_int , pub max_lblk : blk64_t , pub max_pblk : blk64_t , pub max_len : __u32 , pub max_uninit_len : __u32 , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2_extent_info"] [:: std :: mem :: size_of :: < ext2_extent_info > () - 48usize] ; ["Alignment of ext2_extent_info"] [:: std :: mem :: align_of :: < ext2_extent_info > () - 8usize] ; ["Offset of field: ext2_extent_info::curr_entry"] [:: std :: mem :: offset_of ! (ext2_extent_info , curr_entry) - 0usize] ; ["Offset of field: ext2_extent_info::curr_level"] [:: std :: mem :: offset_of ! (ext2_extent_info , curr_level) - 4usize] ; ["Offset of field: ext2_extent_info::num_entries"] [:: std :: mem :: offset_of ! (ext2_extent_info , num_entries) - 8usize] ; ["Offset of field: ext2_extent_info::max_entries"] [:: std :: mem :: offset_of ! (ext2_extent_info , max_entries) - 12usize] ; ["Offset of field: ext2_extent_info::max_depth"] [:: std :: mem :: offset_of ! (ext2_extent_info , max_depth) - 16usize] ; ["Offset of field: ext2_extent_info::bytes_avail"] [:: std :: mem :: offset_of ! (ext2_extent_info , bytes_avail) - 20usize] ; ["Offset of field: ext2_extent_info::max_lblk"] [:: std :: mem :: offset_of ! (ext2_extent_info , max_lblk) - 24usize] ; ["Offset of field: ext2_extent_info::max_pblk"] [:: std :: mem :: offset_of ! (ext2_extent_info , max_pblk) - 32usize] ; ["Offset of field: ext2_extent_info::max_len"] [:: std :: mem :: offset_of ! (ext2_extent_info , max_len) - 40usize] ; ["Offset of field: ext2_extent_info::max_uninit_len"] [:: std :: mem :: offset_of ! (ext2_extent_info , max_uninit_len) - 44usize] ; } ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_struct_inode_scan { _unused : [u8 ; 0] , } pub type ext2_inode_scan = * mut ext2_struct_inode_scan ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_icount { _unused : [u8 ; 0] , } pub type ext2_icount_t = * mut ext2_icount ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct stat { _unused : [u8 ; 0] , } pub type ext2fs_struct_stat = stat ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_xattr_handle { _unused : [u8 ; 0] , } unsafe extern "C" { pub fn ext2fs_clear_block_uninit (fs : ext2_filsys , group : dgrp_t) ; } unsafe extern "C" { pub fn ext2fs_new_inode (fs : ext2_filsys , dir : ext2_ino_t , mode : :: std :: os :: raw :: c_int , map : ext2fs_inode_bitmap , ret : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_new_block (fs : ext2_filsys , goal : blk_t , map : ext2fs_block_bitmap , ret : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_new_block2 (fs : ext2_filsys , goal : blk64_t , map : ext2fs_block_bitmap , ret : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_new_block3 (fs : ext2_filsys , goal : blk64_t , map : ext2fs_block_bitmap , ret : * mut blk64_t , ctx : * mut blk_alloc_ctx) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_free_blocks (fs : ext2_filsys , start : blk_t , finish : blk_t , num : :: std :: os :: raw :: c_int , map : ext2fs_block_bitmap , ret : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_free_blocks2 (fs : ext2_filsys , start : blk64_t , finish : blk64_t , num : :: std :: os :: raw :: c_int , map : ext2fs_block_bitmap , ret : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_alloc_block (fs : ext2_filsys , goal : blk_t , block_buf : * mut :: std :: os :: raw :: c_char , ret : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_alloc_block2 (fs : ext2_filsys , goal : blk64_t , block_buf : * mut :: std :: os :: raw :: c_char , ret : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_alloc_block3 (fs : ext2_filsys , goal : blk64_t , block_buf : * mut :: std :: os :: raw :: c_char , ret : * mut blk64_t , ctx : * mut blk_alloc_ctx) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_alloc_block_callback (fs : ext2_filsys , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , goal : blk64_t , ret : * mut blk64_t) -> errcode_t > , old : * mut :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , goal : blk64_t , ret : * mut blk64_t) -> errcode_t >) ; } unsafe extern "C" { pub fn ext2fs_find_inode_goal (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , lblk : blk64_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_set_new_range_callback (fs : ext2_filsys , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , goal : blk64_t , len : blk64_t , pblk : * mut blk64_t , plen : * mut blk64_t) -> errcode_t > , old : * mut :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , goal : blk64_t , len : blk64_t , pblk : * mut blk64_t , plen : * mut blk64_t) -> errcode_t >) ; } unsafe extern "C" { pub fn ext2fs_set_block_alloc_stats_range_callback (fs : ext2_filsys , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk64_t , num : blk_t , inuse : :: std :: os :: raw :: c_int) > , old : * mut :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk64_t , num : blk_t , inuse : :: std :: os :: raw :: c_int) >) ; } unsafe extern "C" { pub fn ext2fs_new_range (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , goal : blk64_t , len : blk64_t , map : ext2fs_block_bitmap , pblk : * mut blk64_t , plen : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_alloc_range (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , goal : blk64_t , len : blk_t , ret : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_reserve_super_and_bgd (fs : ext2_filsys , group : dgrp_t , bmap : ext2fs_block_bitmap) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_set_block_alloc_stats_callback (fs : ext2_filsys , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk64_t , inuse : :: std :: os :: raw :: c_int) > , old : * mut :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk64_t , inuse : :: std :: os :: raw :: c_int) >) ; } unsafe extern "C" { pub fn ext2fs_inode_alloc_stats (fs : ext2_filsys , ino : ext2_ino_t , inuse : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_inode_alloc_stats2 (fs : ext2_filsys , ino : ext2_ino_t , inuse : :: std :: os :: raw :: c_int , isdir : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_block_alloc_stats (fs : ext2_filsys , blk : blk_t , inuse : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_block_alloc_stats2 (fs : ext2_filsys , blk : blk64_t , inuse : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_block_alloc_stats_range (fs : ext2_filsys , blk : blk64_t , num : blk_t , inuse : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_allocate_tables (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_allocate_group_table (fs : ext2_filsys , group : dgrp_t , bmap : ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_u32_list_create (ret : * mut ext2_u32_list , size : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_u32_list_add (bb : ext2_u32_list , blk : __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_u32_list_find (bb : ext2_u32_list , blk : __u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_u32_list_test (bb : ext2_u32_list , blk : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_u32_list_iterate_begin (bb : ext2_u32_list , ret : * mut ext2_u32_iterate) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_u32_list_iterate (iter : ext2_u32_iterate , blk : * mut blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_u32_list_iterate_end (iter : ext2_u32_iterate) ; } unsafe extern "C" { pub fn ext2fs_u32_copy (src : ext2_u32_list , dest : * mut ext2_u32_list) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_u32_list_equal (bb1 : ext2_u32_list , bb2 : ext2_u32_list) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_create (ret : * mut ext2_badblocks_list , size : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_add (bb : ext2_badblocks_list , blk : blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_test (bb : ext2_badblocks_list , blk : blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_u32_list_del (bb : ext2_u32_list , blk : __u32) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_del (bb : ext2_u32_list , blk : __u32) ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_iterate_begin (bb : ext2_badblocks_list , ret : * mut ext2_badblocks_iterate) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_iterate (iter : ext2_badblocks_iterate , blk : * mut blk_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_iterate_end (iter : ext2_badblocks_iterate) ; } unsafe extern "C" { pub fn ext2fs_badblocks_copy (src : ext2_badblocks_list , dest : * mut ext2_badblocks_list) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_badblocks_equal (bb1 : ext2_badblocks_list , bb2 : ext2_badblocks_list) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_u32_list_count (bb : ext2_u32_list) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_update_bb_inode (fs : ext2_filsys , bb_list : ext2_badblocks_list) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free_block_bitmap (bitmap : ext2fs_block_bitmap) ; } unsafe extern "C" { pub fn ext2fs_free_inode_bitmap (bitmap : ext2fs_inode_bitmap) ; } unsafe extern "C" { pub fn ext2fs_copy_bitmap (src : ext2fs_generic_bitmap , dest : * mut ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_allocate_block_bitmap (fs : ext2_filsys , descr : * const :: std :: os :: raw :: c_char , ret : * mut ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_allocate_subcluster_bitmap (fs : ext2_filsys , descr : * const :: std :: os :: raw :: c_char , ret : * mut ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_bitmap_granularity (bitmap : ext2fs_block_bitmap) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_allocate_inode_bitmap (fs : ext2_filsys , descr : * const :: std :: os :: raw :: c_char , ret : * mut ext2fs_inode_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_fudge_inode_bitmap_end (bitmap : ext2fs_inode_bitmap , end : ext2_ino_t , oend : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_fudge_block_bitmap_end (bitmap : ext2fs_block_bitmap , end : blk_t , oend : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_fudge_block_bitmap_end2 (bitmap : ext2fs_block_bitmap , end : blk64_t , oend : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_clear_inode_bitmap (bitmap : ext2fs_inode_bitmap) ; } unsafe extern "C" { pub fn ext2fs_clear_block_bitmap (bitmap : ext2fs_block_bitmap) ; } unsafe extern "C" { pub fn ext2fs_resize_inode_bitmap (new_end : __u32 , new_real_end : __u32 , bmap : ext2fs_inode_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_resize_inode_bitmap2 (new_end : __u64 , new_real_end : __u64 , bmap : ext2fs_inode_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_resize_block_bitmap (new_end : __u32 , new_real_end : __u32 , bmap : ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_resize_block_bitmap2 (new_end : __u64 , new_real_end : __u64 , bmap : ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_compare_block_bitmap (bm1 : ext2fs_block_bitmap , bm2 : ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_compare_inode_bitmap (bm1 : ext2fs_inode_bitmap , bm2 : ext2fs_inode_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_inode_bitmap_range (bmap : ext2fs_inode_bitmap , start : ext2_ino_t , num : :: std :: os :: raw :: c_uint , in_ : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_inode_bitmap_range2 (bmap : ext2fs_inode_bitmap , start : __u64 , num : usize , in_ : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_inode_bitmap_range (bmap : ext2fs_inode_bitmap , start : ext2_ino_t , num : :: std :: os :: raw :: c_uint , out : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_inode_bitmap_range2 (bmap : ext2fs_inode_bitmap , start : __u64 , num : usize , out : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_block_bitmap_range (bmap : ext2fs_block_bitmap , start : blk_t , num : :: std :: os :: raw :: c_uint , in_ : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_block_bitmap_range2 (bmap : ext2fs_block_bitmap , start : blk64_t , num : usize , in_ : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_block_bitmap_range (bmap : ext2fs_block_bitmap , start : blk_t , num : :: std :: os :: raw :: c_uint , out : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_block_bitmap_range2 (bmap : ext2fs_block_bitmap , start : blk64_t , num : usize , out : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inode_bitmap_checksum (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_block_bitmap_checksum (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_group_of_blk2 (fs : ext2_filsys , arg1 : blk64_t) -> dgrp_t ; } unsafe extern "C" { pub fn ext2fs_group_first_block2 (fs : ext2_filsys , group : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_group_last_block2 (fs : ext2_filsys , group : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_group_blocks_count (fs : ext2_filsys , group : dgrp_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_inode_data_blocks2 (fs : ext2_filsys , inode : * mut ext2_inode) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_inode_i_blocks (fs : ext2_filsys , inode : * mut ext2_inode) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_get_stat_i_blocks (fs : ext2_filsys , inode : * mut ext2_inode) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_blocks_count (super_ : * mut ext2_super_block) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_blocks_count_set (super_ : * mut ext2_super_block , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_blocks_count_add (super_ : * mut ext2_super_block , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_r_blocks_count (super_ : * mut ext2_super_block) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_r_blocks_count_set (super_ : * mut ext2_super_block , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_r_blocks_count_add (super_ : * mut ext2_super_block , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_free_blocks_count (super_ : * mut ext2_super_block) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_free_blocks_count_set (super_ : * mut ext2_super_block , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_free_blocks_count_add (super_ : * mut ext2_super_block , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_group_desc (fs : ext2_filsys , gdp : * mut opaque_ext2_group_desc , group : dgrp_t) -> * mut ext2_group_desc ; } unsafe extern "C" { pub fn ext2fs_block_bitmap_csum (fs : ext2_filsys , group : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_block_bitmap_loc (fs : ext2_filsys , group : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_block_bitmap_loc_set (fs : ext2_filsys , group : dgrp_t , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_inode_bitmap_csum (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_inode_bitmap_loc (fs : ext2_filsys , group : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_inode_bitmap_loc_set (fs : ext2_filsys , group : dgrp_t , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_inode_table_loc (fs : ext2_filsys , group : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_inode_table_loc_set (fs : ext2_filsys , group : dgrp_t , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_bg_free_blocks_count (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_bg_free_blocks_count_set (fs : ext2_filsys , group : dgrp_t , n : __u32) ; } unsafe extern "C" { pub fn ext2fs_bg_free_inodes_count (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_bg_free_inodes_count_set (fs : ext2_filsys , group : dgrp_t , n : __u32) ; } unsafe extern "C" { pub fn ext2fs_bg_used_dirs_count (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_bg_used_dirs_count_set (fs : ext2_filsys , group : dgrp_t , n : __u32) ; } unsafe extern "C" { pub fn ext2fs_bg_itable_unused (fs : ext2_filsys , group : dgrp_t) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_bg_itable_unused_set (fs : ext2_filsys , group : dgrp_t , n : __u32) ; } unsafe extern "C" { pub fn ext2fs_bg_flags (fs : ext2_filsys , group : dgrp_t) -> __u16 ; } unsafe extern "C" { pub fn ext2fs_bg_flags_zap (fs : ext2_filsys , group : dgrp_t) ; } unsafe extern "C" { pub fn ext2fs_bg_flags_test (fs : ext2_filsys , group : dgrp_t , bg_flag : __u16) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_bg_flags_set (fs : ext2_filsys , group : dgrp_t , bg_flags : __u16) ; } unsafe extern "C" { pub fn ext2fs_bg_flags_clear (fs : ext2_filsys , group : dgrp_t , bg_flags : __u16) ; } unsafe extern "C" { pub fn ext2fs_bg_checksum (fs : ext2_filsys , group : dgrp_t) -> __u16 ; } unsafe extern "C" { pub fn ext2fs_bg_checksum_set (fs : ext2_filsys , group : dgrp_t , checksum : __u16) ; } unsafe extern "C" { pub fn ext2fs_file_acl_block (fs : ext2_filsys , inode : * const ext2_inode) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_file_acl_block_set (fs : ext2_filsys , inode : * mut ext2_inode , blk : blk64_t) ; } unsafe extern "C" { pub fn ext2fs_inode_size_set (fs : ext2_filsys , inode : * mut ext2_inode , size : ext2_off64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_block_iterate (fs : ext2_filsys , ino : ext2_ino_t , flags : :: std :: os :: raw :: c_int , block_buf : * mut :: std :: os :: raw :: c_char , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blocknr : * mut blk_t , blockcnt : :: std :: os :: raw :: c_int , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_block_iterate2 (fs : ext2_filsys , ino : ext2_ino_t , flags : :: std :: os :: raw :: c_int , block_buf : * mut :: std :: os :: raw :: c_char , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blocknr : * mut blk_t , blockcnt : e2_blkcnt_t , ref_blk : blk_t , ref_offset : :: std :: os :: raw :: c_int , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_block_iterate3 (fs : ext2_filsys , ino : ext2_ino_t , flags : :: std :: os :: raw :: c_int , block_buf : * mut :: std :: os :: raw :: c_char , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blocknr : * mut blk64_t , blockcnt : e2_blkcnt_t , ref_blk : blk64_t , ref_offset : :: std :: os :: raw :: c_int , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_bmap (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , block_buf : * mut :: std :: os :: raw :: c_char , bmap_flags : :: std :: os :: raw :: c_int , block : blk_t , phys_blk : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_bmap2 (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , block_buf : * mut :: std :: os :: raw :: c_char , bmap_flags : :: std :: os :: raw :: c_int , block : blk64_t , ret_flags : * mut :: std :: os :: raw :: c_int , phys_blk : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_map_cluster_block (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , lblk : blk64_t , pblk : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_check_desc (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_close (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_close2 (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_close_free (fs : * mut ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_flush (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_flush2 (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_bg_has_super (fs : ext2_filsys , group_block : dgrp_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_super_and_bgd_loc2 (fs : ext2_filsys , group : dgrp_t , ret_super_blk : * mut blk64_t , ret_old_desc_blk : * mut blk64_t , ret_new_desc_blk : * mut blk64_t , ret_used_blks : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_super_and_bgd_loc (fs : ext2_filsys , group : dgrp_t , ret_super_blk : * mut blk_t , ret_old_desc_blk : * mut blk_t , ret_new_desc_blk : * mut blk_t , ret_meta_bg : * mut :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_update_dynamic_rev (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_crc32_be (crc : __u32 , p : * const :: std :: os :: raw :: c_uchar , len : usize) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_crc32c_le (crc : __u32 , p : * const :: std :: os :: raw :: c_uchar , len : usize) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_init_csum_seed (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_mmp_csum_set (fs : ext2_filsys , mmp : * mut mmp_struct) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_csum_verify (arg1 : ext2_filsys , mmp : * mut mmp_struct) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_verify_csum_type (fs : ext2_filsys , sb : * mut ext2_super_block) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_superblock_csum_set (fs : ext2_filsys , sb : * mut ext2_super_block) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_superblock_csum_verify (fs : ext2_filsys , sb : * mut ext2_super_block) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_ext_attr_block_csum_set (fs : ext2_filsys , inum : ext2_ino_t , block : blk64_t , hdr : * mut ext2_ext_attr_header) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_ext_attr_block_csum_verify (fs : ext2_filsys , inum : ext2_ino_t , block : blk64_t , hdr : * mut ext2_ext_attr_header) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_initialize_dirent_tail (fs : ext2_filsys , t : * mut ext2_dir_entry_tail) ; } unsafe extern "C" { pub fn ext2fs_dirent_has_tail (fs : ext2_filsys , dirent : * mut ext2_dir_entry) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_dirent_csum_verify (fs : ext2_filsys , inum : ext2_ino_t , dirent : * mut ext2_dir_entry) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_dir_block_csum_verify (fs : ext2_filsys , inum : ext2_ino_t , dirent : * mut ext2_dir_entry) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_dir_block_csum_set (fs : ext2_filsys , inum : ext2_ino_t , dirent : * mut ext2_dir_entry) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_dx_countlimit (fs : ext2_filsys , dirent : * mut ext2_dir_entry , cc : * mut * mut ext2_dx_countlimit , offset : * mut :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dx_csum (fs : ext2_filsys , inum : ext2_ino_t , dirent : * mut ext2_dir_entry , crc : * mut __u32 , ret_t : * mut * mut ext2_dx_tail) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_block_csum_set (fs : ext2_filsys , inum : ext2_ino_t , eh : * mut ext3_extent_header) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_block_csum_verify (fs : ext2_filsys , inum : ext2_ino_t , eh : * mut ext3_extent_header) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_block_bitmap_csum_set (fs : ext2_filsys , group : dgrp_t , bitmap : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_block_bitmap_csum_verify (fs : ext2_filsys , group : dgrp_t , bitmap : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_inode_bitmap_csum_set (fs : ext2_filsys , group : dgrp_t , bitmap : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inode_bitmap_csum_verify (fs : ext2_filsys , group : dgrp_t , bitmap : * mut :: std :: os :: raw :: c_char , size : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_inode_csum_set (fs : ext2_filsys , inum : ext2_ino_t , inode : * mut ext2_inode_large) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inode_csum_verify (fs : ext2_filsys , inum : ext2_ino_t , inode : * mut ext2_inode_large) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_group_desc_csum_set (fs : ext2_filsys , group : dgrp_t) ; } unsafe extern "C" { pub fn ext2fs_group_desc_csum_verify (fs : ext2_filsys , group : dgrp_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_set_gdt_csum (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_group_desc_csum (fs : ext2_filsys , group : dgrp_t) -> __u16 ; } unsafe extern "C" { pub fn ext2fs_init_dblist (fs : ext2_filsys , ret_dblist : * mut ext2_dblist) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_add_dir_block (dblist : ext2_dblist , ino : ext2_ino_t , blk : blk_t , blockcnt : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_add_dir_block2 (dblist : ext2_dblist , ino : ext2_ino_t , blk : blk64_t , blockcnt : e2_blkcnt_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_sort (dblist : ext2_dblist , sortfunc : :: std :: option :: Option < unsafe extern "C" fn (arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int >) ; } unsafe extern "C" { pub fn ext2fs_dblist_sort2 (dblist : ext2_dblist , sortfunc : :: std :: option :: Option < unsafe extern "C" fn (arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int >) ; } unsafe extern "C" { pub fn ext2fs_dblist_iterate (dblist : ext2_dblist , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , db_info : * mut ext2_db_entry , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_iterate2 (dblist : ext2_dblist , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , db_info : * mut ext2_db_entry2 , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_iterate3 (dblist : ext2_dblist , func : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , db_info : * mut ext2_db_entry2 , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , start : :: std :: os :: raw :: c_ulonglong , count : :: std :: os :: raw :: c_ulonglong , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_dir_block (dblist : ext2_dblist , ino : ext2_ino_t , blk : blk_t , blockcnt : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_dir_block2 (dblist : ext2_dblist , ino : ext2_ino_t , blk : blk64_t , blockcnt : e2_blkcnt_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_copy_dblist (src : ext2_dblist , dest : * mut ext2_dblist) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_count (dblist : ext2_dblist) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_dblist_count2 (dblist : ext2_dblist) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_dblist_get_last (dblist : ext2_dblist , entry : * mut * mut ext2_db_entry) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_get_last2 (dblist : ext2_dblist , entry : * mut * mut ext2_db_entry2) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_drop_last (dblist : ext2_dblist) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dblist_dir_iterate (dblist : ext2_dblist , flags : :: std :: os :: raw :: c_int , block_buf : * mut :: std :: os :: raw :: c_char , func : :: std :: option :: Option < unsafe extern "C" fn (dir : ext2_ino_t , entry : :: std :: os :: raw :: c_int , dirent : * mut ext2_dir_entry , offset : :: std :: os :: raw :: c_int , blocksize : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_char , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_dir_block (fs : ext2_filsys , block : blk_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_dir_block2 (fs : ext2_filsys , block : blk_t , buf : * mut :: std :: os :: raw :: c_void , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_dir_block3 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_dir_block4 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void , flags : :: std :: os :: raw :: c_int , ino : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_dir_block (fs : ext2_filsys , block : blk_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_dir_block2 (fs : ext2_filsys , block : blk_t , buf : * mut :: std :: os :: raw :: c_void , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_dir_block3 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_dir_block4 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void , flags : :: std :: os :: raw :: c_int , ino : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dirhash (version : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , seed : * const __u32 , ret_hash : * mut ext2_dirhash_t , ret_minor_hash : * mut ext2_dirhash_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dirhash2 (version : :: std :: os :: raw :: c_int , name : * const :: std :: os :: raw :: c_char , len : :: std :: os :: raw :: c_int , charset : * const ext2fs_nls_table , hash_flags : :: std :: os :: raw :: c_int , seed : * const __u32 , ret_hash : * mut ext2_dirhash_t , ret_minor_hash : * mut ext2_dirhash_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_rec_len (fs : ext2_filsys , dirent : * mut ext2_dir_entry , rec_len : * mut :: std :: os :: raw :: c_uint) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_rec_len (fs : ext2_filsys , len : :: std :: os :: raw :: c_uint , dirent : * mut ext2_dir_entry) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dir_iterate (fs : ext2_filsys , dir : ext2_ino_t , flags : :: std :: os :: raw :: c_int , block_buf : * mut :: std :: os :: raw :: c_char , func : :: std :: option :: Option < unsafe extern "C" fn (dirent : * mut ext2_dir_entry , offset : :: std :: os :: raw :: c_int , blocksize : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_char , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dir_iterate2 (fs : ext2_filsys , dir : ext2_ino_t , flags : :: std :: os :: raw :: c_int , block_buf : * mut :: std :: os :: raw :: c_char , func : :: std :: option :: Option < unsafe extern "C" fn (dir : ext2_ino_t , entry : :: std :: os :: raw :: c_int , dirent : * mut ext2_dir_entry , offset : :: std :: os :: raw :: c_int , blocksize : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_char , priv_data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dup_handle (src : ext2_filsys , dest : * mut ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_expand_dir (fs : ext2_filsys , dir : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_ext_attr_hash_entry (entry : * mut ext2_ext_attr_entry , data : * mut :: std :: os :: raw :: c_void) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_ext_attr_hash_entry_signed (entry : * mut ext2_ext_attr_entry , data : * mut :: std :: os :: raw :: c_void) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_ext_attr_hash_entry2 (fs : ext2_filsys , entry : * mut ext2_ext_attr_entry , data : * mut :: std :: os :: raw :: c_void , hash : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_ext_attr_hash_entry3 (fs : ext2_filsys , entry : * mut ext2_ext_attr_entry , data : * mut :: std :: os :: raw :: c_void , hash : * mut __u32 , signed_hash : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_ext_attr (fs : ext2_filsys , block : blk_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_ext_attr2 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_ext_attr3 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void , inum : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_ext_attr (fs : ext2_filsys , block : blk_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_ext_attr2 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_ext_attr3 (fs : ext2_filsys , block : blk64_t , buf : * mut :: std :: os :: raw :: c_void , inum : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_adjust_ea_refcount (fs : ext2_filsys , blk : blk_t , block_buf : * mut :: std :: os :: raw :: c_char , adjust : :: std :: os :: raw :: c_int , newcount : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_adjust_ea_refcount2 (fs : ext2_filsys , blk : blk64_t , block_buf : * mut :: std :: os :: raw :: c_char , adjust : :: std :: os :: raw :: c_int , newcount : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_adjust_ea_refcount3 (fs : ext2_filsys , blk : blk64_t , block_buf : * mut :: std :: os :: raw :: c_char , adjust : :: std :: os :: raw :: c_int , newcount : * mut __u32 , inum : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_write (handle : * mut ext2_xattr_handle) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_read (handle : * mut ext2_xattr_handle) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_read_inode (handle : * mut ext2_xattr_handle , inode : * mut ext2_inode_large) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_iterate (h : * mut ext2_xattr_handle , func : :: std :: option :: Option < unsafe extern "C" fn (name : * mut :: std :: os :: raw :: c_char , value : * mut :: std :: os :: raw :: c_char , value_len : usize , data : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int > , data : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattr_get (h : * mut ext2_xattr_handle , key : * const :: std :: os :: raw :: c_char , value : * mut * mut :: std :: os :: raw :: c_void , value_len : * mut usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattr_set (handle : * mut ext2_xattr_handle , key : * const :: std :: os :: raw :: c_char , value : * const :: std :: os :: raw :: c_void , value_len : usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattr_remove (handle : * mut ext2_xattr_handle , key : * const :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_open (fs : ext2_filsys , ino : ext2_ino_t , handle : * mut * mut ext2_xattr_handle) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_close (handle : * mut * mut ext2_xattr_handle) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free_ext_attr (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode_large) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_count (handle : * mut ext2_xattr_handle , count : * mut usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattr_inode_max_size (fs : ext2_filsys , ino : ext2_ino_t , size : * mut usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_xattrs_flags (handle : * mut ext2_xattr_handle , new_flags : * mut :: std :: os :: raw :: c_uint , old_flags : * mut :: std :: os :: raw :: c_uint) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_ext_attr_block_rehash (header : * mut ext2_ext_attr_header , end : * mut ext2_ext_attr_entry) ; } unsafe extern "C" { pub fn ext2fs_get_ea_inode_hash (inode : * mut ext2_inode) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_set_ea_inode_hash (inode : * mut ext2_inode , hash : __u32) ; } unsafe extern "C" { pub fn ext2fs_get_ea_inode_ref (inode : * mut ext2_inode) -> __u64 ; } unsafe extern "C" { pub fn ext2fs_set_ea_inode_ref (inode : * mut ext2_inode , ref_count : __u64) ; } unsafe extern "C" { pub fn ext2fs_extent_header_verify (ptr : * mut :: std :: os :: raw :: c_void , size : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_open (fs : ext2_filsys , ino : ext2_ino_t , handle : * mut ext2_extent_handle_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_open2 (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , ret_handle : * mut ext2_extent_handle_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_free (handle : ext2_extent_handle_t) ; } unsafe extern "C" { pub fn ext2fs_extent_get (handle : ext2_extent_handle_t , flags : :: std :: os :: raw :: c_int , extent : * mut ext2fs_extent) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_node_split (handle : ext2_extent_handle_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_replace (handle : ext2_extent_handle_t , flags : :: std :: os :: raw :: c_int , extent : * mut ext2fs_extent) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_insert (handle : ext2_extent_handle_t , flags : :: std :: os :: raw :: c_int , extent : * mut ext2fs_extent) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_set_bmap (handle : ext2_extent_handle_t , logical : blk64_t , physical : blk64_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_delete (handle : ext2_extent_handle_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_get_info (handle : ext2_extent_handle_t , info : * mut ext2_extent_info) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_goto (handle : ext2_extent_handle_t , blk : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_goto2 (handle : ext2_extent_handle_t , leaf_level : :: std :: os :: raw :: c_int , blk : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_extent_fix_parents (handle : ext2_extent_handle_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_max_extent_depth (handle : ext2_extent_handle_t) -> usize ; } unsafe extern "C" { pub fn ext2fs_fix_extents_checksums (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_count_blocks (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , ret_count : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_decode_extent (to : * mut ext2fs_extent , from : * mut :: std :: os :: raw :: c_void , len : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_fallocate (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , ino : ext2_ino_t , inode : * mut ext2_inode , goal : blk64_t , start : blk64_t , len : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_open2 (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , flags : :: std :: os :: raw :: c_int , ret : * mut ext2_file_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_open (fs : ext2_filsys , ino : ext2_ino_t , flags : :: std :: os :: raw :: c_int , ret : * mut ext2_file_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_get_fs (file : ext2_file_t) -> ext2_filsys ; } unsafe extern "C" { pub fn ext2fs_file_get_inode (file : ext2_file_t) -> * mut ext2_inode ; } unsafe extern "C" { pub fn ext2fs_file_get_inode_num (file : ext2_file_t) -> ext2_ino_t ; } unsafe extern "C" { pub fn ext2fs_file_close (file : ext2_file_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_flush (file : ext2_file_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_read (file : ext2_file_t , buf : * mut :: std :: os :: raw :: c_void , wanted : :: std :: os :: raw :: c_uint , got : * mut :: std :: os :: raw :: c_uint) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_write (file : ext2_file_t , buf : * const :: std :: os :: raw :: c_void , nbytes : :: std :: os :: raw :: c_uint , written : * mut :: std :: os :: raw :: c_uint) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_llseek (file : ext2_file_t , offset : __u64 , whence : :: std :: os :: raw :: c_int , ret_pos : * mut __u64) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_lseek (file : ext2_file_t , offset : ext2_off_t , whence : :: std :: os :: raw :: c_int , ret_pos : * mut ext2_off_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_get_lsize (file : ext2_file_t , ret_size : * mut __u64) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_get_size (file : ext2_file_t) -> ext2_off_t ; } unsafe extern "C" { pub fn ext2fs_file_set_size (file : ext2_file_t , size : ext2_off_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_file_set_size2 (file : ext2_file_t , size : ext2_off64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_block_device (device : dev_t) -> * mut :: std :: os :: raw :: c_char ; } unsafe extern "C" { pub fn ext2fs_sync_device (fd : :: std :: os :: raw :: c_int , flushb : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_free_dblist (dblist : ext2_dblist) ; } unsafe extern "C" { pub fn ext2fs_badblocks_list_free (bb : ext2_badblocks_list) ; } unsafe extern "C" { pub fn ext2fs_u32_list_free (bb : ext2_u32_list) ; } unsafe extern "C" { pub fn ext2fs_free_generic_bitmap (bitmap : ext2fs_inode_bitmap) ; } unsafe extern "C" { pub fn ext2fs_make_generic_bitmap (magic : errcode_t , fs : ext2_filsys , start : __u32 , end : __u32 , real_end : __u32 , descr : * const :: std :: os :: raw :: c_char , init_map : * mut :: std :: os :: raw :: c_char , ret : * mut ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_allocate_generic_bitmap (start : __u32 , end : __u32 , real_end : __u32 , descr : * const :: std :: os :: raw :: c_char , ret : * mut ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_copy_generic_bitmap (src : ext2fs_generic_bitmap , dest : * mut ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_clear_generic_bitmap (bitmap : ext2fs_generic_bitmap) ; } unsafe extern "C" { pub fn ext2fs_fudge_generic_bitmap_end (bitmap : ext2fs_inode_bitmap , magic : errcode_t , neq : errcode_t , end : ext2_ino_t , oend : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_generic_bitmap_padding (map : ext2fs_generic_bitmap) ; } unsafe extern "C" { pub fn ext2fs_resize_generic_bitmap (magic : errcode_t , new_end : __u32 , new_real_end : __u32 , bmap : ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_compare_generic_bitmap (magic : errcode_t , neq : errcode_t , bm1 : ext2fs_generic_bitmap , bm2 : ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_generic_bitmap_range (bmap : ext2fs_generic_bitmap , magic : errcode_t , start : __u32 , num : __u32 , out : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_generic_bitmap_range (bmap : ext2fs_generic_bitmap , magic : errcode_t , start : __u32 , num : __u32 , in_ : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_first_zero_generic_bitmap (bitmap : ext2fs_generic_bitmap , start : __u32 , end : __u32 , out : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_find_first_set_generic_bitmap (bitmap : ext2fs_generic_bitmap , start : __u32 , end : __u32 , out : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free_generic_bmap (bmap : ext2fs_generic_bitmap) ; } unsafe extern "C" { pub fn ext2fs_alloc_generic_bmap (fs : ext2_filsys , magic : errcode_t , type_ : :: std :: os :: raw :: c_int , start : __u64 , end : __u64 , real_end : __u64 , descr : * const :: std :: os :: raw :: c_char , ret : * mut ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_copy_generic_bmap (src : ext2fs_generic_bitmap , dest : * mut ext2fs_generic_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_fudge_generic_bmap_end (bitmap : ext2fs_generic_bitmap , neq : errcode_t , end : __u64 , oend : * mut __u64) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_resize_generic_bmap (bmap : ext2fs_generic_bitmap , new_end : __u64 , new_real_end : __u64) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_generic_bmap_range (bmap : ext2fs_generic_bitmap , start : __u64 , num : :: std :: os :: raw :: c_uint , out : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_generic_bmap_range (bmap : ext2fs_generic_bitmap , start : __u64 , num : :: std :: os :: raw :: c_uint , in_ : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_convert_subcluster_bitmap (fs : ext2_filsys , bitmap : * mut ext2fs_block_bitmap) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_count_used_clusters (fs : ext2_filsys , start : blk64_t , end : blk64_t , out : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_num_dirs (fs : ext2_filsys , ret_num_dirs : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_device_size (file : * const :: std :: os :: raw :: c_char , blocksize : :: std :: os :: raw :: c_int , retblocks : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_device_size2 (file : * const :: std :: os :: raw :: c_char , blocksize : :: std :: os :: raw :: c_int , retblocks : * mut blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_dio_alignment (fd : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_get_device_sectsize (file : * const :: std :: os :: raw :: c_char , sectsize : * mut :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_device_phys_sectsize (file : * const :: std :: os :: raw :: c_char , sectsize : * mut :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_iblk_add_blocks (fs : ext2_filsys , inode : * mut ext2_inode , num_blocks : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_iblk_sub_blocks (fs : ext2_filsys , inode : * mut ext2_inode , num_blocks : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_iblk_set (fs : ext2_filsys , inode : * mut ext2_inode , b : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_image_inode_write (fs : ext2_filsys , fd : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_image_inode_read (fs : ext2_filsys , fd : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_image_super_write (fs : ext2_filsys , fd : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_image_super_read (fs : ext2_filsys , fd : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_image_bitmap_write (fs : ext2_filsys , fd : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_image_bitmap_read (fs : ext2_filsys , fd : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_ind_block (fs : ext2_filsys , blk : blk_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_ind_block (fs : ext2_filsys , blk : blk_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_initialize (name : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , param : * mut ext2_super_block , manager : io_manager , ret_fs : * mut ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_calculate_summary_stats (fs : ext2_filsys , super_only : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free_icount (icount : ext2_icount_t) ; } unsafe extern "C" { pub fn ext2fs_create_icount_tdb (fs : ext2_filsys , tdb_dir : * mut :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , ret : * mut ext2_icount_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_icount2 (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , size : :: std :: os :: raw :: c_uint , hint : ext2_icount_t , ret : * mut ext2_icount_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_icount (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , size : :: std :: os :: raw :: c_uint , ret : * mut ext2_icount_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_icount_fetch (icount : ext2_icount_t , ino : ext2_ino_t , ret : * mut __u16) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_icount_increment (icount : ext2_icount_t , ino : ext2_ino_t , ret : * mut __u16) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_icount_decrement (icount : ext2_icount_t , ino : ext2_ino_t , ret : * mut __u16) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_icount_store (icount : ext2_icount_t , ino : ext2_ino_t , count : __u16) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_icount_size (icount : ext2_icount_t) -> ext2_ino_t ; } unsafe extern "C" { pub fn ext2fs_icount_validate (icount : ext2_icount_t , arg1 : * mut FILE) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_memalign (size : :: std :: os :: raw :: c_ulong , align : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inline_data_init (fs : ext2_filsys , ino : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inline_data_size (fs : ext2_filsys , ino : ext2_ino_t , size : * mut usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inline_data_get (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , buf : * mut :: std :: os :: raw :: c_void , size : * mut usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inline_data_set (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , buf : * mut :: std :: os :: raw :: c_void , size : usize) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_inode_cache (fs : ext2_filsys , cache_size : :: std :: os :: raw :: c_uint) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free_inode_cache (icache : * mut ext2_inode_cache) ; } unsafe extern "C" { pub fn ext2fs_flush_icache (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_next_inode_full (scan : ext2_inode_scan , ino : * mut ext2_ino_t , inode : * mut ext2_inode , bufsize : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_open_inode_scan (fs : ext2_filsys , buffer_blocks : :: std :: os :: raw :: c_int , ret_scan : * mut ext2_inode_scan) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_close_inode_scan (scan : ext2_inode_scan) ; } unsafe extern "C" { pub fn ext2fs_get_next_inode (scan : ext2_inode_scan , ino : * mut ext2_ino_t , inode : * mut ext2_inode) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inode_scan_goto_blockgroup (scan : ext2_inode_scan , group : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_inode_callback (scan : ext2_inode_scan , done_group : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , scan : ext2_inode_scan , group : dgrp_t , priv_data : * mut :: std :: os :: raw :: c_void) -> errcode_t > , done_group_data : * mut :: std :: os :: raw :: c_void) ; } unsafe extern "C" { pub fn ext2fs_inode_scan_flags (scan : ext2_inode_scan , set_flags : :: std :: os :: raw :: c_int , clear_flags : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_read_inode_full (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , bufsize : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_inode (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_inode2 (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , bufsize : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_inode_full (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , bufsize : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_inode (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_inode2 (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , bufsize : :: std :: os :: raw :: c_int , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_new_inode (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_blocks (fs : ext2_filsys , ino : ext2_ino_t , blocks : * mut blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_check_directory (fs : ext2_filsys , ino : ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub static mut inode_io_manager : io_manager ; } unsafe extern "C" { pub fn ext2fs_inode_io_intern (fs : ext2_filsys , ino : ext2_ino_t , name : * mut * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_inode_io_intern2 (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , name : * mut * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_check_if_mounted (file : * const :: std :: os :: raw :: c_char , mount_flags : * mut :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_check_mount_point (device : * const :: std :: os :: raw :: c_char , mount_flags : * mut :: std :: os :: raw :: c_int , mtpt : * mut :: std :: os :: raw :: c_char , mtlen : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_punch (fs : ext2_filsys , ino : ext2_ino_t , inode : * mut ext2_inode , block_buf : * mut :: std :: os :: raw :: c_char , start : blk64_t , end : blk64_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_lookup (fs : ext2_filsys , dir : ext2_ino_t , name : * const :: std :: os :: raw :: c_char , namelen : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_char , inode : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_namei (fs : ext2_filsys , root : ext2_ino_t , cwd : ext2_ino_t , name : * const :: std :: os :: raw :: c_char , inode : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_namei_follow (fs : ext2_filsys , root : ext2_ino_t , cwd : ext2_ino_t , name : * const :: std :: os :: raw :: c_char , inode : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_follow_link (fs : ext2_filsys , root : ext2_ino_t , cwd : ext2_ino_t , inode : ext2_ino_t , res_inode : * mut ext2_ino_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_native_flag () -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_new_dir_block (fs : ext2_filsys , dir_ino : ext2_ino_t , parent_ino : ext2_ino_t , block : * mut * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_new_dir_inline_data (fs : ext2_filsys , dir_ino : ext2_ino_t , parent_ino : ext2_ino_t , iblock : * mut __u32) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_load_nls_table (encoding : :: std :: os :: raw :: c_int) -> * const ext2fs_nls_table ; } unsafe extern "C" { pub fn ext2fs_check_encoded_name (table : * const ext2fs_nls_table , s : * mut :: std :: os :: raw :: c_char , len : usize , pos : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_casefold_cmp (table : * const ext2fs_nls_table , str1 : * const :: std :: os :: raw :: c_uchar , len1 : usize , str2 : * const :: std :: os :: raw :: c_uchar , len2 : usize) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mkdir (fs : ext2_filsys , parent : ext2_ino_t , inum : ext2_ino_t , name : * const :: std :: os :: raw :: c_char) -> errcode_t ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_journal_params { pub num_journal_blocks : blk_t , pub num_fc_blocks : blk_t , } # [allow (clippy :: unnecessary_operation , clippy :: identity_op)] const _ : () = { ["Size of ext2fs_journal_params"] [:: std :: mem :: size_of :: < ext2fs_journal_params > () - 8usize] ; ["Alignment of ext2fs_journal_params"] [:: std :: mem :: align_of :: < ext2fs_journal_params > () - 4usize] ; ["Offset of field: ext2fs_journal_params::num_journal_blocks"] [:: std :: mem :: offset_of ! (ext2fs_journal_params , num_journal_blocks) - 0usize] ; ["Offset of field: ext2fs_journal_params::num_fc_blocks"] [:: std :: mem :: offset_of ! (ext2fs_journal_params , num_fc_blocks) - 4usize] ; } ; unsafe extern "C" { pub fn ext2fs_get_journal_params (params : * mut ext2fs_journal_params , fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_zero_blocks (fs : ext2_filsys , blk : blk_t , num : :: std :: os :: raw :: c_int , ret_blk : * mut blk_t , ret_count : * mut :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_zero_blocks2 (fs : ext2_filsys , blk : blk64_t , num : :: std :: os :: raw :: c_int , ret_blk : * mut blk64_t , ret_count : * mut :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_journal_superblock (fs : ext2_filsys , num_blocks : __u32 , flags : :: std :: os :: raw :: c_int , ret_jsb : * mut * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_journal_superblock2 (fs : ext2_filsys , params : * mut ext2fs_journal_params , flags : :: std :: os :: raw :: c_int , ret_jsb : * mut * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_add_journal_device (fs : ext2_filsys , journal_dev : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_add_journal_inode (fs : ext2_filsys , num_blocks : blk_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_add_journal_inode2 (fs : ext2_filsys , num_blocks : blk_t , goal : blk64_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_add_journal_inode3 (fs : ext2_filsys , params : * mut ext2fs_journal_params , goal : blk64_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_default_journal_size (num_blocks : __u64) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_journal_sb_start (blocksize : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_open (name : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , superblock : :: std :: os :: raw :: c_int , block_size : :: std :: os :: raw :: c_uint , manager : io_manager , ret_fs : * mut ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_open2 (name : * const :: std :: os :: raw :: c_char , io_options : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , superblock : :: std :: os :: raw :: c_int , block_size : :: std :: os :: raw :: c_uint , manager : io_manager , ret_fs : * mut ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_descriptor_block_loc2 (fs : ext2_filsys , group_block : blk64_t , i : dgrp_t) -> blk64_t ; } unsafe extern "C" { pub fn ext2fs_descriptor_block_loc (fs : ext2_filsys , group_block : blk_t , i : dgrp_t) -> blk_t ; } unsafe extern "C" { pub fn ext2fs_get_data_io (fs : ext2_filsys , old_io : * mut io_channel) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_set_data_io (fs : ext2_filsys , new_io : io_channel) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_rewrite_to_io (fs : ext2_filsys , new_io : io_channel) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_orphan_file (fs : ext2_filsys , num_blocks : blk_t) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_truncate_orphan_file (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_default_orphan_file_blocks (fs : ext2_filsys) -> e2_blkcnt_t ; } unsafe extern "C" { pub fn ext2fs_do_orphan_file_block_csum (fs : ext2_filsys , ino : ext2_ino_t , r#gen : __u32 , blk : blk64_t , buf : * mut :: std :: os :: raw :: c_char) -> __u32 ; } unsafe extern "C" { pub fn ext2fs_orphan_file_block_csum_set (fs : ext2_filsys , ino : ext2_ino_t , blk : blk64_t , buf : * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_orphan_file_block_csum_verify (fs : ext2_filsys , ino : ext2_ino_t , blk : blk64_t , buf : * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_get_pathname (fs : ext2_filsys , dir : ext2_ino_t , ino : ext2_ino_t , name : * mut * mut :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_link (fs : ext2_filsys , dir : ext2_ino_t , name : * const :: std :: os :: raw :: c_char , ino : ext2_ino_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_unlink (fs : ext2_filsys , dir : ext2_ino_t , name : * const :: std :: os :: raw :: c_char , ino : ext2_ino_t , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_symlink (fs : ext2_filsys , parent : ext2_ino_t , ino : ext2_ino_t , name : * const :: std :: os :: raw :: c_char , target : * const :: std :: os :: raw :: c_char) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_is_fast_symlink (inode : * mut ext2_inode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mmp_read (fs : ext2_filsys , mmp_blk : blk64_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_write (fs : ext2_filsys , mmp_blk : blk64_t , buf : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_clear (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_init (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_start (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_update (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_update2 (fs : ext2_filsys , immediately : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_stop (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mmp_new_seq () -> :: std :: os :: raw :: c_uint ; } unsafe extern "C" { pub fn ext2fs_read_bb_inode (fs : ext2_filsys , bb_list : * mut ext2_badblocks_list) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_bb_FILE2 (fs : ext2_filsys , f : * mut FILE , bb_list : * mut ext2_badblocks_list , priv_data : * mut :: std :: os :: raw :: c_void , invalid : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk_t , badstr : * mut :: std :: os :: raw :: c_char , priv_data : * mut :: std :: os :: raw :: c_void) >) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_bb_FILE (fs : ext2_filsys , f : * mut FILE , bb_list : * mut ext2_badblocks_list , invalid : :: std :: option :: Option < unsafe extern "C" fn (fs : ext2_filsys , blk : blk_t) >) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_create_resize_inode (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_rw_bitmaps (fs : ext2_filsys , flags : :: std :: os :: raw :: c_int , num_threads : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_bitmaps (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_inode_bitmap (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_read_block_bitmap (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_bitmaps (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_inode_bitmap (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_write_block_bitmap (fs : ext2_filsys) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_sha512 (in_ : * const :: std :: os :: raw :: c_uchar , in_size : :: std :: os :: raw :: c_ulong , out : * mut :: std :: os :: raw :: c_uchar) ; } unsafe extern "C" { pub fn ext2fs_dirent_swab_in2 (fs : ext2_filsys , buf : * mut :: std :: os :: raw :: c_char , size : usize , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dirent_swab_in (fs : ext2_filsys , buf : * mut :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dirent_swab_out2 (fs : ext2_filsys , buf : * mut :: std :: os :: raw :: c_char , size : usize , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_dirent_swab_out (fs : ext2_filsys , buf : * mut :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_swap_ext_attr (to : * mut :: std :: os :: raw :: c_char , from : * mut :: std :: os :: raw :: c_char , bufsize : :: std :: os :: raw :: c_int , has_header : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_swap_ext_attr_header (to_header : * mut ext2_ext_attr_header , from_hdr : * mut ext2_ext_attr_header) ; } unsafe extern "C" { pub fn ext2fs_swap_ext_attr_entry (to_entry : * mut ext2_ext_attr_entry , from_entry : * mut ext2_ext_attr_entry) ; } unsafe extern "C" { pub fn ext2fs_swap_super (super_ : * mut ext2_super_block) ; } unsafe extern "C" { pub fn ext2fs_swap_group_desc (gdp : * mut ext2_group_desc) ; } unsafe extern "C" { pub fn ext2fs_swap_group_desc2 (arg1 : ext2_filsys , gdp : * mut ext2_group_desc) ; } unsafe extern "C" { pub fn ext2fs_swap_inode_full (fs : ext2_filsys , t : * mut ext2_inode_large , f : * mut ext2_inode_large , hostorder : :: std :: os :: raw :: c_int , bufsize : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_swap_inode (fs : ext2_filsys , t : * mut ext2_inode , f : * mut ext2_inode , hostorder : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_swap_mmp (mmp : * mut mmp_struct) ; } unsafe extern "C" { pub fn ext2fs_open_file (pathname : * const :: std :: os :: raw :: c_char , flags : :: std :: os :: raw :: c_int , mode : mode_t) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_stat (path : * const :: std :: os :: raw :: c_char , buf : * mut ext2fs_struct_stat) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_fstat (fd : :: std :: os :: raw :: c_int , buf : * mut ext2fs_struct_stat) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_inode_has_valid_blocks (inode : * mut ext2_inode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_inode_has_valid_blocks2 (fs : ext2_filsys , inode : * mut ext2_inode) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_parse_version_string (ver_string : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_get_library_version (ver_string : * mut * const :: std :: os :: raw :: c_char , date_string : * mut * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_write_bb_FILE (bb_list : ext2_badblocks_list , flags : :: std :: os :: raw :: c_uint , f : * mut FILE) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_mem (size : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_memzero (size : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_array (count : :: std :: os :: raw :: c_ulong , size : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_get_arrayzero (count : :: std :: os :: raw :: c_ulong , size : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_free_mem (ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_resize_mem (old_size : :: std :: os :: raw :: c_ulong , size : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_resize_array (old_count : :: std :: os :: raw :: c_ulong , count : :: std :: os :: raw :: c_ulong , size : :: std :: os :: raw :: c_ulong , ptr : * mut :: std :: os :: raw :: c_void) -> errcode_t ; } unsafe extern "C" { pub fn ext2fs_mark_super_dirty (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_mark_changed (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_test_changed (fs : ext2_filsys) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mark_valid (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_unmark_valid (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_test_valid (fs : ext2_filsys) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_mark_ib_dirty (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_mark_bb_dirty (fs : ext2_filsys) ; } unsafe extern "C" { pub fn ext2fs_test_ib_dirty (fs : ext2_filsys) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_test_bb_dirty (fs : ext2_filsys) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_group_of_blk (fs : ext2_filsys , blk : blk_t) -> dgrp_t ; } unsafe extern "C" { pub fn ext2fs_group_of_ino (fs : ext2_filsys , ino : ext2_ino_t) -> dgrp_t ; } unsafe extern "C" { pub fn ext2fs_group_first_block (fs : ext2_filsys , group : dgrp_t) -> blk_t ; } unsafe extern "C" { pub fn ext2fs_group_last_block (fs : ext2_filsys , group : dgrp_t) -> blk_t ; } unsafe extern "C" { pub fn ext2fs_inode_data_blocks (fs : ext2_filsys , inode : * mut ext2_inode) -> blk_t ; } unsafe extern "C" { pub fn ext2fs_htree_intnode_maxrecs (fs : ext2_filsys , blocks : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_div_ceil (a : :: std :: os :: raw :: c_uint , b : :: std :: os :: raw :: c_uint) -> :: std :: os :: raw :: c_uint ; } unsafe extern "C" { pub fn ext2fs_div64_ceil (a : __u64 , b : __u64) -> __u64 ; } unsafe extern "C" { pub fn ext2fs_dirent_name_len (entry : * const ext2_dir_entry) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_dirent_set_name_len (entry : * mut ext2_dir_entry , len : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_dirent_file_type (entry : * const ext2_dir_entry) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_dirent_set_file_type (entry : * mut ext2_dir_entry , type_ : :: std :: os :: raw :: c_int) ; } unsafe extern "C" { pub fn ext2fs_inode (large_inode : * mut ext2_inode_large) -> * mut ext2_inode ; } unsafe extern "C" { pub fn ext2fs_const_inode (large_inode : * const ext2_inode_large) -> * const ext2_inode ; } unsafe extern "C" { pub fn ext2fs_inodes_per_orphan_block (fs : ext2_filsys) -> :: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn ext2fs_orphan_block_tail (fs : ext2_filsys , buf : * mut :: std :: os :: raw :: c_char) -> * mut ext4_orphan_block_tail ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_image_hdr { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2_inode_cache { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_progress_ops { pub _address : u8 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct ext2fs_nls_table { pub _address : u8 , }
[INFO] [stdout]   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `afsr` (bin "afsr" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `afsr` (bin "afsr") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "722e4863ac4b31f40fca8823afa34b4145dea49209fc22d5920286375b6d73d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "722e4863ac4b31f40fca8823afa34b4145dea49209fc22d5920286375b6d73d2", kill_on_drop: false }`
[INFO] [stdout] 722e4863ac4b31f40fca8823afa34b4145dea49209fc22d5920286375b6d73d2
